@fluentui/react-northstar
Version:
A themable React component library.
24 lines (22 loc) • 649 B
JavaScript
exports.__esModule = true;
exports.buttonContentStyles = void 0;
var buttonContentStyles = {
root: function root(_ref) {
var p = _ref.props,
v = _ref.variables;
return Object.assign({
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
fontSize: v.contentFontSize,
fontWeight: v.contentFontWeight,
lineHeight: v.contentLineHeight
}, p.size === 'small' && {
fontSize: v.sizeSmallContentFontSize,
lineHeight: v.sizeSmallContentLineHeight
});
}
};
exports.buttonContentStyles = buttonContentStyles;
//# sourceMappingURL=buttonContentStyles.js.map
;