'use client'; import { Link } from '@tanstack/react-router'; import { Folder, Forward, type LucideIcon, MoreHorizontal, Trash2, } from 'lucide-react'; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from '@/components/ui/dropdown-menu'; import { SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuAction, SidebarMenuButton, SidebarMenuItem, useSidebar, } from '@/components/ui/sidebar'; import type { ComponentProps } from 'react'; export function NavProjects({ projects, }: { projects: { name: string; icon: LucideIcon; link: ComponentProps; }[]; }) { const { isMobile } = useSidebar(); return ( Projects {projects.map((item) => ( {item.name} More View Project Share Project Delete Project ))} More ); }