@paprika/side-navigation
v6.0.1
Published
Side Navigation component
Downloads
141
Keywords
Readme
@paprika/side-navigation
Description
Side Navigation component
Installation
yarn add @paprika/side-navigation
or with npm:
npm install @paprika/side-navigation
Props
SideNavigation
| Prop | Type | required | default | Description | | -------- | ------ | -------- | ------- | ------------------------------ | | a11yText | string | false | null | Aria-label on the nav element. | | children | node | false | null | | | header | node | true | - | Header text in the side panel. |
SideNavigation.Item
| Prop | Type | required | default | Description | | --------- | ---- | -------- | ------- | --------------------------------------------------------------------------- | | children | node | false | null | | | isCurrent | bool | false | false | If this side navigation item is the current page and should be highlighted. |