npm.io
1.0.0 • Published 3 years ago

@pasmac/react-hamburger-button

Licence
ISC
Version
1.0.0
Deps
1
Size
5 kB
Vulns
0
Weekly
0

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" />
  )
}

The above block will produce a moderate (50px x 50px) blue hamburger button


Keywords