'use client'; import * as React from 'react'; import { ChevronRightIcon, MoreHorizontalIcon } from '@/icons'; import { Slot } from 'radix-ui'; import { cn } from '@/lib/utils'; export type BreadcrumbProps = React.ComponentProps<'nav'>; export interface BreadcrumbLinkProps extends React.ComponentProps<'a'> { /** Render the child element instead of an `` — e.g. a router ``. */ asChild?: boolean; } /** * Trail showing where the current page sits in the hierarchy. * * The last crumb is the current page: render it as `BreadcrumbPage`, not a * link, so it is announced with `aria-current="page"`. */ function Breadcrumb(props: BreadcrumbProps) { return