import{defineProperty as e}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import o from"react";import r from"../../../../Flex/Flex.js";import t from"classnames";import s from"./MenuItemIcon.module.scss.js";import n from"../../../../../../components/icon/dist/Icon/Icon.js";var c=function(c){var a=c.icon,i=c.type,l=c.disabled,m=c.selected,p=c.backgroundColor,u=c.wrapperClassName;return o.createElement(r,{justify:"center",className:t(s.iconWrapper,e(e({},s.disabled,l),s.withBackgroundColor,!!p),u),style:Object.assign({},p&&{backgroundColor:p})},o.createElement(n,{iconType:i||("function"==typeof a?"svg":"font"),icon:a,className:t(s.icon,e({},s.selected,!l&&m)),ignoreFocusStyle:!0,iconSize:18}))};export{c as default};
//# sourceMappingURL=MenuItemIcon.js.map
