import PropTypes from 'prop-types' import { Drawer, Hidden, IconButton } from '@material-ui/core' import { makeStyles } from '@material-ui/core/styles' import HighlightOffIcon from '@material-ui/icons/HighlightOff' const drawerWidth = 250 const useStyles = makeStyles((theme) => ({ drawer: { [theme.breakpoints.up('md')]: { width: drawerWidth, flexShrink: 0 } }, drawerPaper: { width: drawerWidth } })) // Common layout left side pane for Dashboard and Schematic Editor export default function LayoutSidebar ({ window, mobileOpen, mobileClose, children }) { const classes = useStyles() const container = window !== undefined ? () => window().document.body : undefined return ( <> ) } LayoutSidebar.propTypes = { window: PropTypes.object, mobileOpen: PropTypes.bool.isRequired, mobileClose: PropTypes.func.isRequired, children: PropTypes.element }