A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021
loc
43
comments
30%
passed
16
coverage
50%

Sidebar

avatar of atanasster
@component-controls/components
3.15.0

Collapsible side bar component

import { Sidebar } from '@component-controls/components';

Button Props

Title

  • item 1
  • item 2
  • item 3
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)

Commits

Date
Author
Commit Message
11/17/2020

atanasster

avatar of atanasster
chore: cleanup default imports of React
6/19/2020

atanasster

avatar of atanasster
chore: upgrade theme-ui package
6/16/2020

atanasster

avatar of atanasster
chore: merge app-components into components
3 commits
package
imports
peer
get
react
^17.0.1
useContextReactTextReactNodeFC
*
theme-ui
^0.8.4
jsxHeadingBoxPropsBox
file
imports
"../ThemeContext"
useTheme
"./SidebarContext"
SidebarContext

Stories

Overview

  • item 1
  • item 2
  • item 3

Title

Title

  • item 1
  • item 2
  • item 3

Icon

Title

  • item 1
  • item 2
  • item 3