import NavLink from "@/components/NavLink"; import { Icon } from "@iconify/react"; import { Box, Drawer, List, ListItem, ListItemButton, ListItemIcon, ListItemText, Toolbar, } from "@mui/material"; const MenuOptions = [ { text: "Game Report", icon: "streamline:magnifying-glass-solid", href: "/" }, { text: "Game Database", icon: "streamline:database-solid", href: "/game-database", }, ]; interface Props { open: boolean; onClose: () => void; } export default function NavMenu({ open, onClose }: Props) { return ( {MenuOptions.map(({ text, icon, href }) => ( ))} ); }