react-og-hamburger-menu
v1.0.0
Published
Made with create-react-library
Downloads
2
Readme
react-og-hamburger-menu
Made with create-react-library
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