React breadcrumbs component
Breadcrumbs component with onClick callback.
``javascript
import { Breadcrumbs } from "@crpt/react-breadcrumbs";
title: "Main",
id: 1
},
{
href: "catalog",
title: "Complaints",
id: 2
},{
href: "catalog-item",
title: "Complaint #445612",
id: 3
}]}
/>
`
| PropName | Description | Example |
|---|---|---|
| breadcrumbs: Array (Required) | List of objects with format {href: "", title: "Main", id: 1}. | |
| onClick: Function | Fired on any link click. | |
| withCustomLinks: Boolean | If true, no link are followed. Default=true. |