@fluentui/react-northstar
Version:
A themable React component library.
24 lines (22 loc) • 589 B
JavaScript
exports.__esModule = true;
exports.pillImageStyles = void 0;
var pillImageStyles = {
root: function root(_ref) {
var p = _ref.props,
v = _ref.variables;
return Object.assign({
width: v.imageWidth,
height: v.imageHeight,
borderRadius: '50%'
}, p.size === 'small' && {
width: v.smallImageWidth,
height: v.smallImageHeight
}, p.size === 'smaller' && {
width: v.smallerImageWidth,
height: v.smallerImageHeight
});
}
};
exports.pillImageStyles = pillImageStyles;
//# sourceMappingURL=pillImageStyles.js.map
;