import { type PropsOf, Slot, component$ } from '@builder.io/qwik'; import { cn } from '@qwik-ui/utils'; import { LuChevronRight } from '@qwikest/icons/lucide'; export type BreadcrumbProps = PropsOf<'nav'>; const Root = component$(() => { return ( ); }); const List = component$>((props) => { return (
); }); const Item = component$>((props) => { return (
  • ); }); const Link = component$ & { asChild?: boolean }>((props) => { const Comp = props.asChild ? Slot : 'a'; return ( {!props.asChild && } ); }); const Separator = component$>((props) => { return ( ); }); const Page = component$>((props) => { return ( ); }); export const Breadcrumb = { Root, List, Item, Link, Separator, Page };