@fluentui/react-northstar
Version:
A themable React component library.
21 lines (20 loc) • 483 B
JavaScript
import { pxToRem } from '../../../../utils';
export var formLabelStyles = {
root: function root(_ref) {
var p = _ref.props,
v = _ref.variables;
return Object.assign({
display: 'block',
lineHeight: v.lineHeight,
marginBottom: v.marginBottom
}, p.inline && {
marginRight: pxToRem(10),
display: 'inline'
}, p.required && {
'::after': {
content: '"*"'
}
});
}
};
//# sourceMappingURL=formLabelStyles.js.map