import Link from "next/link"; import type { ComponentType } from "react"; import type { LucideProps } from "lucide-react"; import { cn } from "@/lib/utils"; type NavItemProps = { href: string; label: string; icon: ComponentType; active?: boolean; badge?: number | string; }; export function NavItem({ href, label, icon: Icon, active = false, badge, }: NavItemProps) { return ( {label} {badge ? ( {badge} ) : null} ); }