import { useState } from 'react' function NavLink({to, children}) { return {children} } function MobileNav({open, setOpen}) { return (
setTimeout(() => {setOpen(!open)}, 100)}> About setTimeout(() => {setOpen(!open)}, 100)}> Contact
) } export default function Navbar() { const [open, setOpen] = useState(false) return ( ) }