@fluentui/react-northstar
Version:
A themable React component library.
22 lines (20 loc) • 704 B
JavaScript
import { compose } from '@fluentui/react-bindings';
import { commonPropTypes } from '../../utils';
import { Box } from '../Box/Box';
export var toolbarItemIconClassName = 'ui-toolbar__itemicon';
/**
* A ToolbarItemIcon allows a user to have a dedicated component that can be targeted from the theme.
*/
export var ToolbarItemIcon = /*#__PURE__*/function () {
var ToolbarItemIcon = compose(Box, {
className: toolbarItemIconClassName,
displayName: 'ToolbarItemIcon',
overrideStyles: true,
shorthandConfig: {
mappedProp: 'content'
}
});
ToolbarItemIcon.propTypes = commonPropTypes.createCommon();
return ToolbarItemIcon;
}();
//# sourceMappingURL=ToolbarItemIcon.js.map