MCPcopy
hub / github.com/langbot-app/LangBot / BreadcrumbLink

Function BreadcrumbLink

web/src/components/ui/breadcrumb.tsx:34–50  ·  view source on GitHub ↗
({
  asChild,
  className,
  ...props
}: React.ComponentProps<'a'> & {
  asChild?: boolean;
})

Source from the content-addressed store, hash-verified

32}
33
34function BreadcrumbLink({
35 asChild,
36 className,
37 ...props
38}: React.ComponentProps<'a'> & {
39 asChild?: boolean;
40}) {
41 const Comp = asChild ? Slot : 'a';
42
43 return (
44 <Comp
45 data-slot="breadcrumb-link"
46 className={cn('hover:text-foreground transition-colors', className)}
47 {...props}
48 />
49 );
50}
51
52function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {
53 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected