Repository URL to install this package:
|
Version:
3.0.1 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const styled_1 = require("./styled");
class ProductImage extends react_1.default.PureComponent {
render() {
const {
className,
src
} = this.props;
const passthroughProps = Object.freeze({
className,
'data-qa': this.props['data-qa']
});
const view = react_1.default.createElement(styled_1.RenderWrapper, Object.assign({}, passthroughProps), react_1.default.createElement(styled_1.ProductImageSection, {
doAutoAlign: true,
src: src
}));
return view;
}
}
ProductImage.defaultProps = {
className: ''
};
exports.ProductImage = ProductImage;
exports.default = ProductImage; //# sourceMappingURL=ProductImage.js.map