portfolio/app/components/NavItem.tsx

13 lines
249 B
TypeScript
Raw Normal View History

2026-02-08 19:40:39 +01:00
import Link from "next/link";
export default function NavItem({
children,
href
}: Readonly<{
children: React.ReactNode;
href: string;
}>) {
2026-02-08 21:22:34 +01:00
return <Link href={href} className="text-lg mx-4 flex">
2026-02-08 19:40:39 +01:00
{children}
</Link>
}