Licence
MIT
Version
0.0.4-alpha.8
Deps
0
Size
8 kB
Vulns
0
Weekly
0
filename: /packages/atoms/Burger/Burger.tsx
Burger API
The API documentation of the Burger Graffft Waggle component.
Import
import { Burger } from '@graffft-waggle/burger';
Burger
Required Props
| Name | Type | Description |
|---|---|---|
| isOpen | boolean |
The open state of the burger menu (true if open). |
Optional Props
| Name | Type | Default | Description |
|---|---|---|---|
burgerColor |
string |
'#000' |
The color of the burger menu |
onClick |
() => void |
() => {} |
Function to be called when burger menu is clicked |
Demos
- TODO