import { ListItem , Typography , Box } from '@material-ui/core' ; interface IDrawerItem { name : string ; } function DrawerItem ( props ) { return ( < ListItem button = { true } > < Typography > < Box color = "white" fontFamily = "monospace" > { props . name } < /Box> < /Typography> < /ListItem>); } export default DrawerItem ;