'use client' import { ArrowUpRight, Link, MoreHorizontal, StarOff, 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 { SidebarLink } from './sidebar-left' type Props = { favorites: SidebarLink[] } export function NavFavorites(props: Props) { const { favorites } = props const { isMobile } = useSidebar() return ( Favorites {favorites.map((item) => ( {item.emoji} {item.name} More Remove from Favorites Copy Link Open in New Tab Delete ))} More ) }