created:3/5/2021
updated:3/5/2021
loc
43
comments
30%
passed
16
coverage
50%
Sidebar
Collapsible side bar component
Name | Description | Default | |
---|---|---|---|
SidebarProps(3 properties) | |||
title | Title string or any react node ((boolean | ReactChild | ReactFragment | ReactPortal | null) & string) | - | |
collapsible | Whether the sidebar can be collapsed boolean | - | |
children | children content elements to be displayed in Sidebar ReactNode | - | |
HTMLAttributes(43 properties) | |||
Attributes(1 properties) | |||
AriaAttributes(48 properties) | |||
DOMAttributes(161 properties) | |||
-(1 properties) | |||
BoxOwnProps(4 properties) | |||
SpaceProps(28 properties) | |||
BackgroundColorProps(2 properties) | |||
OpacityProps(1 properties) |
package | imports | peer |
---|---|---|
@theme-ui/css ^0.8.4 | get | |
react ^17.0.1 | useContextReactTextReactNodeFC | * |
theme-ui ^0.8.4 | jsxHeadingBoxPropsBox |
file | imports |
---|---|
"../ThemeContext" | useTheme |
"./SidebarContext" | SidebarContext |