@paprika/breadcrumbs
v5.0.0
Published
Breadcrumbs are a type of navigation that also allows users to visualize their location.
Readme
@paprika/breadcrumbs
Description
Breadcrumbs are a type of navigation that also allows users to visualize their location.
Installation
yarn add @paprika/breadcrumbsor with npm:
npm install @paprika/breadcrumbsProps
Breadcrumbs
| Prop | Type | required | default | Description | |-------|-------| -------- | --------- | ----------- | |children|node|false|null| | |isDark|bool|false|false| If the breadcrumbs will be rendered on a dark background and will use inverted colours.| |isAutoCollapsed|bool|false|true| If the breadcrumbs will be collapsed when it has more than 3 links.|
Breadcrumbs.Link
| Prop | Type | required | default | Description | |-------|-------| -------- | --------- | ----------- | |children|node|false|null| | |as|[string,elementType]|false|null| Render as another component instead of Button.Link.| |hasOnlyOneChild|bool|false|false| | |href|string|false|null| Url for the link.|
