import { Drawer, List, ListItem } from '@material-ui/core'; import { makeStyles, createStyles } from '@material-ui/core/styles'; import { Dispatch, SetStateAction } from 'react'; import { BodyText } from './Text'; import { ICONS, ICON_SIZE } from '../lib/consts/ICONS'; interface DrawerProps { open: boolean; setOpen: Dispatch>; } const useStyles = makeStyles(() => createStyles({ list: { width: '15vw', backdropFilter: 'blur(10px)', opacity: 0.7, }, }), ); const AnvilDrawer = ({ open, setOpen }: DrawerProps): JSX.Element => { const classes = useStyles(); return ( setOpen(!open)}>
{ICONS.map( (icon): JSX.Element => ( ), )}
); }; export default AnvilDrawer;