'use client'; import * as React from 'react'; import { ChevronDown, ChevronRight, Home } from 'lucide-react'; import * as Dropdown from '@/components/ui/dropdown'; import Link from 'next/link'; type BreadcrumbItem = { label: string; href: string; items?: BreadcrumbItem[]; }; export default function NestedCategoryBreadcrumbs() { const breadcrumbs: BreadcrumbItem[] = [ { label: 'Products', href: '/products', items: [ { label: 'Products', href: '/products' }, { label: 'Books', href: '/products/books' }, { label: 'Sports', href: '/products/sports' }, ], }, { label: 'Electronics', href: '/electronics', items: [ { label: 'Electronics', href: '/electronics' }, { label: 'House', href: '/electronics/house' }, { label: 'Technology', href: '/electronics/technology' }, ], }, ]; return ( ); }