Repository URL to install this package:
|
Version:
3.0.1 ▾
|
@skava/ui
/
dist
/
components
/
presets
/
ProductPieces
/
ProductImageWithCaption
/
ProductImageWithCaption.js
|
|---|
"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 ProductImageWithCaption extends react_1.default.PureComponent {
render() {
const {
captionColor
} = this.props;
return react_1.default.createElement(styled_1.StyledFigure, Object.assign({}, this.props, {
captionColor: captionColor
}));
}
}
ProductImageWithCaption.defaultProps = {
captionColor: 'grey'
};
exports.ProductImageWithCaption = ProductImageWithCaption;
exports.default = ProductImageWithCaption; //# sourceMappingURL=ProductImageWithCaption.js.map