@hixme-ui/sidebar
v2.2.0
Published
hixme-ui Sidebar component
Downloads
51
Readme
Sidebar
npm i --save @hixme-ui/sidebar
Usage
import Sidebar from '@hixme-ui/sidebar'
<Sidebar
open={open}
header='Header'
onClose={toggleSidebar}
>
Content
</Sidebar>
Default Props
| Name | Type | Default | | ------------- | --------- | -------- | | children | node | N/A | | header | string | N/A | | onClose | function | N/A | | open | boolean | false | | sidebarWidth | string | '300px' | | style | object | N/A | | topOffset | number | 58 |