ChartBreadcrumb
Loading example…
Drill-down path of a hierarchy chart. Every ancestor is a button that
zooms back out to it; the current node is marked with aria-current.
Import
Section titled “Import”import { ChartBreadcrumb } from "@jcsoftdev/ui/charts";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/charts/core.
<ChartBreadcrumb items={trail} label="Ruta de la jerarquía" />| Prop | Type | Default | Description |
|---|---|---|---|
items * |
readonly ChartBreadcrumbItem[] |
Root first, current node last. | |
onSelect * |
(id: string) => void |
||
label * |
string |
Accessible name of the navigation landmark. | |
className |
string |
* marks a required prop.
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/charts/core/breadcrumb.tsx