A react sidebar
npm install react-burger-sidenav
import React from 'react'
import { SideBar, SideBarItem } from 'react-burger-sidenav'
import 'react-burger-sidenav/dist/index.css'
const Example = () => {
return (
<SideBar>
<SideBarItem>hello world</SideBarItem>
</SideBar>
)
}
https://samamoah.github.io/react-burger-sidenav
params | value | default value |
---|---|---|
ham | string | '' |
iconColor | string | #000000 |
closeColor | string | #000000 |
bgColor | string | white |
closeIcon | boolean | true |
className | string | '' |
params | value | default value |
---|---|---|
textSize | string | 20px |
to | string | # |
textColor | string | #000000 |
bgHover | string | #f7fafc |
bgColor | string | white |
padding | string | 1rem |
target | string | '' |
className | string | '' |
MIT © Samamoah