import type { BreadcrumbItem } from './types'; type Props = { items: BreadcrumbItem[]; /** Separator character between crumbs. @default '/' */ separator?: string; /** When the crumb links show their underline: only on hover, permanently, or not at all. @default 'hover' */ underline?: 'hover' | 'always' | 'never'; }; /** * A horizontal trail of crumbs ending at the current page. Each non-last item renders as: * - `` when `item.href` is set (works for plain navigation; `item.on.click` still fires first * and can `preventDefault()` for SPA routing), * - `