Breadcrumb
The last item is the current page. Supports linkComponent / linkProp for routers.
Props
items{ label, href? }[]Trail items; the last one is the current page.
linkComponentElementTypeDefault:'a'Component used for links, e.g. a router Link.
linkPropstringDefault:'href'Name of the destination prop on
linkComponent(e.g. "to" for react-router).classNamestringDefault:''Extra classes for the root element.
| Prop | Type | Default | Description |
|---|---|---|---|
items | { label, href? }[] | – | Trail items; the last one is the current page. |
linkComponent | ElementType | 'a' | Component used for links, e.g. a router Link. |
linkProp | string | 'href' | Name of the destination prop on linkComponent (e.g. "to" for react-router). |
className | string | '' | Extra classes for the root element. |