0.0.4-alpha.8 • Published 2 years ago

@graffft-waggle/burger v0.0.4-alpha.8

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

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

NameTypeDescription
isOpenbooleanThe open state of the burger menu (true if open).

Optional Props

NameTypeDefaultDescription
burgerColorstring'#000'The color of the burger menu
onClick() => void() => {}Function to be called when burger menu is clicked

Demos

  • TODO