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