'use client'
import Link from 'next/link'
import { cn } from '@/lib/utils'
import type { LucideIcon } from 'lucide-react'
interface NavItemProps {
href: string
icon: LucideIcon
label: string
isActive: boolean
variant?: 'default' | 'admin'
}
export function NavItem({ href, icon: Icon, label, isActive, variant = 'default' }: NavItemProps) {
const isAdmin = variant === 'admin'
return (