(props: BreadcrumbProps & Omit<LinkProps, 'className'>)
| 17 | } |
| 18 | |
| 19 | export function Breadcrumb(props: BreadcrumbProps & Omit<LinkProps, 'className'>) { |
| 20 | return ( |
| 21 | <AriaBreadcrumb |
| 22 | {...props} |
| 23 | className={composeTailwindRenderProps(props.className, 'flex items-center gap-1')}> |
| 24 | {({isCurrent}) => ( |
| 25 | <> |
| 26 | <Link variant="secondary" {...props} /> |
| 27 | {!isCurrent && ( |
| 28 | <ChevronRight className="w-3 h-3 text-neutral-600 dark:text-neutral-400" /> |
| 29 | )} |
| 30 | </> |
| 31 | )} |
| 32 | </AriaBreadcrumb> |
| 33 | ); |
| 34 | } |
nothing calls this directly
no test coverage detected