nextstep-menu
v0.2.1
Published
Customizable menu component
Downloads
2
Readme
nextstep-menu
Customizable menu component
Install
# npm
npm install --save nextstep-menu
# yarn
yarn add nextstep-menu
Usage
import {AnimatedNavbar} from 'nextstep-menu'
const ExampleDropdown = () => {
return (
<div>
<h1>Example Component</h1>
</div>
)
}
const navigationConfig = [
{title: "Example", dropdown: ExampleDropdown}
]
<AnimatedNavbar duration={300} navbarConfig={navigationConfig} titleColor={'red'}/>
Credits
Code ported to typescript and heavily influenced by aholacheck
License
MIT © NextStepDev