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