@hixme-ui/sidebar

2.2.0 • Public • Published

Sidebar

npm i --save @hixme-ui/sidebar

View it live

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

Package Sidebar

Install

npm i @hixme-ui/sidebar

Weekly Downloads

5

Version

2.2.0

License

MIT

Unpacked Size

19.8 kB

Total Files

21

Last publish

Collaborators

  • sureco-devops
  • sureco-engineering
  • dreamingbinary
  • billyxs