MathiasKandelborg/TRUE-framework

View on GitHub
components/UI/Layout/Drawer/AppDrawerMenu.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import * as MUI from '@material-ui/core'
import appDrawerMenuStyles from './AppDrawerMenu.styles'

interface IDrawerMenuProps {
  routes: JSX.Element
}

const DrawerMenu: React.FC<IDrawerMenuProps> = (props) => {
  const { routes } = props
  const styles = appDrawerMenuStyles()

  return (
    <>
      <div className={styles.toolbar} />
      <MUI.List>{routes}</MUI.List>
    </>
  )
}

export default DrawerMenu