Customizable menu component
# npm
npm install --save nextstep-menu
# yarn
yarn add nextstep-menu
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'}/>
Code ported to typescript and heavily influenced by aholacheck
MIT © NextStepDev