@fluentui/react-northstar
Version:
A themable React component library.
27 lines (26 loc) • 754 B
JavaScript
import { svgIconClassName } from '@fluentui/react-icons-northstar';
export 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["& ." + svgIconClassName] = {
height: '100%',
width: '100%',
'& svg': {
height: '100%',
width: '100%'
}
}, _Object$assign));
}
};
//# sourceMappingURL=pillActionStyles.js.map