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