react-og-hamburger-menu
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

react-og-hamburger-menu

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save react-og-hamburger-menu

Usage

import React, { useState } from 'react'

import MenuSwitcher from 'react-og-hamburger-menu'

import './styles.css'

const App = () => {
  const [show, setShow] = useState(false)

  function handleMenuSwitcherClick() {
    setShow(!show)
  }

  return <MenuSwitcher {...{ show }} onClick={handleMenuSwitcherClick} />
}

export default App

License

MIT © odenirdev

Readme

Keywords

none

Package Sidebar

Install

npm i react-og-hamburger-menu

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

11.3 kB

Total Files

10

Last publish

Collaborators

  • odenirdev