@fluentui/react-northstar
Version:
A themable React component library.
27 lines (25 loc) • 701 B
JavaScript
exports.__esModule = true;
exports.skeletonTextStyles = void 0;
var skeletonTextStyles = {
root: function root(_ref) {
var p = _ref.props,
v = _ref.variables;
return Object.assign({
display: 'block',
background: v.textBackground,
height: v.textMediumHeight,
width: v.textWidth
}, p.size === 'smaller' && {
height: v.textSmallerHeight
}, p.size === 'small' && {
height: v.textSmallHeight
}, p.size === 'large' && {
height: v.textLargeHeight
}, p.size === 'larger' && {
height: v.textLargerHeight
});
}
};
exports.skeletonTextStyles = skeletonTextStyles;
//# sourceMappingURL=skeletonTextStyles.js.map
;