@pasmac/react-hamburger-button

1.0.0 • Public • Published

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


Package Sidebar

Install

npm i @pasmac/react-hamburger-button

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

5.17 kB

Total Files

4

Last publish

Collaborators

  • pasmac