1.0.0 • Published 1 year ago

@pasmac/react-hamburger-button v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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