@pasmac/react-hamburger-button
v1.0.0
Published
A very Simple Animated React Hamburger Button
Downloads
3
Maintainers
Readme
Installation
npm install -D @pasmac/react-hamburger-button
Usage
import {HamburgerButton, HamburgerButtonSVG} from "@pasmac/react-hamburger-button"
You can use either of the two (HamburgerButton or HamburgerButtonSVG) with just two(2) properties namely: - "color" and "big"
export default function Home() {
return (
<HamburgerButton color="red" big/>
)
}
The above block will produce a big (80px X 80px) red hamburger button
export default function Home() {
return (
<HamburgerButtonSVG color="blue" />
)
}