import r from"prop-types";import a from"classnames";import{withStyles as e,Drawer as n,Toolbar as s,List as o}from"@material-ui/core";import{jsxs as t,jsx as i}from"react/jsx-runtime";var l=function(r){var e=r.classes,l=r.drawerClassName,d=r.drawerPaperClassName,c=r.isToolbarGutterShown,m=r.onClick,p=r.children,h=r.listClassName,u=r.anchor;return t(n,{onClick:m,className:a(e.drawer,l),variant:"permanent",classes:{paper:a(e.drawerPaper,d)},anchor:u,children:[c&&i(s,{className:e.toolbar}),i(o,{className:a(e.list,h),children:p})]})};l.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]).isRequired,drawerPaperClassName:r.string,drawerClassName:r.string,listClassName:r.string,onClick:r.func,isToolbarGutterShown:r.bool,drawerWidth:r.oneOfType([r.number,r.string]),anchor:r.oneOf(["left","right"])},l.defaultProps={drawerPaperClassName:null,drawerClassName:null,listClassName:null,onClick:function(){},isToolbarGutterShown:!0,drawerWidth:240,anchor:"left"};var d=e({drawer:{width:function(r){return r.drawerWidth},flexShrink:0},drawerPaper:{width:function(r){return r.drawerWidth},background:"#3B3B3B",border:"none",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.15)"},toolbar:{height:50,minHeight:50},list:{padding:0}})(l);export{d as default};
//# sourceMappingURL=SideBar.js.map
