({
href,
children,
}: {
href: string
children: React.ReactNode
})
| 15 | import { ThemeToggle } from './ThemeToggle' |
| 16 | |
| 17 | function TopLevelNavItem({ |
| 18 | href, |
| 19 | children, |
| 20 | }: { |
| 21 | href: string |
| 22 | children: React.ReactNode |
| 23 | }) { |
| 24 | return ( |
| 25 | <li> |
| 26 | <Link |
| 27 | href={href} |
| 28 | className="whitespace-nowrap text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white" |
| 29 | > |
| 30 | {children} |
| 31 | </Link> |
| 32 | </li> |
| 33 | ) |
| 34 | } |
| 35 | |
| 36 | export const Header = forwardRef< |
| 37 | React.ElementRef<'div'>, |
nothing calls this directly
no outgoing calls
no test coverage detected