0.2.1 • Published 3 years ago

nextstep-menu v0.2.1

Weekly downloads
117
License
MIT
Repository
github
Last release
3 years ago

nextstep-menu

Customizable menu component

NPM JavaScript Style Guide

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

Inspiration from stripe.com

Code ported to typescript and heavily influenced by aholacheck

License

MIT © NextStepDev