import { Link } from "@tanstack/react-router" import { cn } from "@/lib/utils" import { LaIcon } from "~/components/custom/la-icon" import { icons } from "lucide-react" import type { LinkOptions } from "@tanstack/react-router" interface NavItemProps extends LinkOptions { title: string count: number icon: keyof typeof icons className?: string } export function NavItem({ title, count, icon, className, ...linkProps }: NavItemProps) { return ( {({ isActive }) => ( <>