import { createStyles , makeStyles , Theme } from '@material-ui/core/styles' ; const drawerWidth = 240 ; export const useStyles = makeStyles ( ( theme ) => createStyles ( { drawer : { width : drawerWidth , flexShrink : 0 , } , drawerPaper : { width : drawerWidth , } , toolbar : theme . mixins . toolbar , } ) ) ;