import { type ComponentPropsWithoutRef } from 'react'; import { Icon } from '@/common/Icon'; import { type NavItem } from '@/common/types'; import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from '@/shadcn/sidebar'; export function NavFooter({ items, className, ...props }: ComponentPropsWithoutRef & { items: NavItem[]; }) { return ( {items.map((item) => ( {item.icon && } {item.title} ))} ); }