created:7/7/2021
updated:7/7/2021
loc
61
comments
13%
passed
4
failed
4
coverage
75%
Sidebar
grommet-controls
3.0.2Collapsible side bar component
$ npm install grommet-controlsimport { Sidebar } from 'grommet-controls';<Sidebar title='My title'> ...</Sidebar>
Name | Description | Default | |
---|---|---|---|
ISidebarProps(4 properties) | |||
title | Title string or any react node ReactNode | undefined | |
width | The width of the side bar string & WidthType | medium | |
collapsible | Whether the sidebar can be collapsed boolean | true | |
children | children content elements to be displayed in Sidebar ReactNode | - | |
BoxProps(27 properties) |
package | imports | peer |
---|---|---|
grommet ^2.15.0 | ResponsiveContextHeadingButtonBoxPropsBox | * |
grommet-icons/icons/Menu ^2.15.0 | Menu | * |
react ^17.0.1 | React | * |
file | imports |
---|---|
"./SidebarProps" | ISidebarProps |