MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Breadcrumb

Function Breadcrumb

starters/docs/src/Breadcrumbs.tsx:17–28  ·  view source on GitHub ↗
(props: BreadcrumbProps & Omit<LinkProps, 'className'>)

Source from the content-addressed store, hash-verified

15}
16
17export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected