(props: BreadcrumbProps & Omit<LinkProps, 'className'>)
| 15 | } |
| 16 | |
| 17 | export function Breadcrumb(props: BreadcrumbProps & Omit<LinkProps, 'className'>) { |
| 18 | return ( |
| 19 | <RACBreadcrumb {...props}> |
| 20 | {({isCurrent}) => ( |
| 21 | <> |
| 22 | <Link {...props} /> |
| 23 | {!isCurrent && <ChevronRight size={14} />} |
| 24 | </> |
| 25 | )} |
| 26 | </RACBreadcrumb> |
| 27 | ); |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected