MCPcopy Create free account
hub / github.com/Surfer-Org/Protocol / TopLevelNavItem

Function TopLevelNavItem

docs/src/components/Navigation.jsx:20–31  ·  view source on GitHub ↗
({ href, children })

Source from the content-addressed store, hash-verified

18}
19
20function TopLevelNavItem({ href, children }) {
21 return (
22 <li className="md:hidden">
23 <Link
24 href={href}
25 className="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
26 >
27 {children}
28 </Link>
29 </li>
30 )
31}
32
33function NavLink({
34 href,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected