PathSegment
Defined in: src/components/navigation/PathBar/PathBar.types.ts:15
A single segment of a path. Pass these (instead of a raw string) when a segment needs its own icon or an explicit navigation value.
Properties
Section titled “Properties”
optionalicon?:ReactNode
Defined in: src/components/navigation/PathBar/PathBar.types.ts:26
Icon rendered before the label, overriding any default for this segment.
label:
string
Defined in: src/components/navigation/PathBar/PathBar.types.ts:17
Text shown for the segment.
value?
Section titled “value?”
optionalvalue?:string
Defined in: src/components/navigation/PathBar/PathBar.types.ts:23
Path handed to onNavigate when this segment is activated. Defaults to the
cumulative path built from the preceding labels and the delimiter.