import { useRouter } from 'next/router' import Link from 'next/link' import { ChevronRightIcon } from '@heroicons/react/20/solid' type MenuItemProps = { href: string children: React.ReactNode newWindow?: boolean } const MenuItem = ({ href, children, newWindow = false }: MenuItemProps) => { const { asPath } = useRouter() return ( {children} ) } export default MenuItem