@paprika/side-navigation
v7.0.0
Published
Side Navigation component
Readme
@paprika/side-navigation
Description
Side Navigation component
Installation
yarn add @paprika/side-navigationor with npm:
npm install @paprika/side-navigationProps
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.|
