UNPKG

@fluentui/react-northstar

Version:
32 lines (30 loc) 893 B
"use strict"; exports.__esModule = true; exports.pillActionStyles = void 0; var _reactIconsNorthstar = require("@fluentui/react-icons-northstar"); var pillActionStyles = { root: function root(_ref) { var _Object$assign; var p = _ref.props, v = _ref.variables; return Object.assign({ border: 'none', background: 'transparent', margin: v.actionMargin, width: v.actionWidth, cursor: 'pointer', outline: 'none' }, (p.size === 'small' || p.size === 'smaller') && { width: v.smallOrSmallerActionWidth }, (_Object$assign = {}, _Object$assign["& ." + _reactIconsNorthstar.svgIconClassName] = { height: '100%', width: '100%', '& svg': { height: '100%', width: '100%' } }, _Object$assign)); } }; exports.pillActionStyles = pillActionStyles; //# sourceMappingURL=pillActionStyles.js.map