nextstep-menu
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i nextstep-menu

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

322 kB

Total Files

16

Last publish

Collaborators

  • nextstepdev