"use strict";var e=require('./../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),i=require("classnames"),r=require("@material-ui/core/ListItemIcon"),n=require("@material-ui/core"),s=require("../MenuItem/index.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(i),o=a(r),u=n.makeStyles((function(e){return{menuItem:{height:function(e){return e.small?36:54},lineHeight:function(e){return e.small?"17px":"24px"},"&:hover svg":{fill:function(t){var i=t.iconType,r=t.disabled;return"iconPark"===i?"":r?e.palette.primary.text9:e.palette.primary.contrastText},color:function(t){var i=t.iconType,r=t.disabled;return"mui"===i?"":r?e.palette.primary.text9:e.palette.primary.contrastText}}},listItemIcon:{paddingRight:e.spacing(1),color:function(t){return t.disabled?e.palette.primary.text9:e.palette.primary.text7},minWidth:"auto",fontSize:function(e){return e.small?16:24},"& .MuiSvgIcon-root":{fontSize:"inherit"}}}}));module.exports=function(i){var r=i.classes,n=void 0===r?{}:r,a=i.icon,c=i.children,m=i.small,d=i.iconType,p=void 0===d?"mui":d,f=e.__rest(i,["classes","icon","children","small","iconType"]),x=u({small:m,disabled:f.disabled,iconType:p});return t.jsxs(s,e.__assign({classes:e.__assign(e.__assign({},n),{root:l.default(x.menuItem,n.root)})},f,{children:[t.jsx(o.default,{classes:{root:x.listItemIcon},children:a}),c]}))};
