1.0.0-beta03 • Published 4 years ago

@nkonada/react-page-nav v1.0.0-beta03

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@nkonada/react-page-nav

A single component for all your page navigation needs

NPM JavaScript Style Guide

Install

npm install --save @nkonada/react-page-nav

Usage

import React, { Component } from 'react'

import { NavBar } from '@nkonada/react-page-nav'
import '@nkonada/react-page-nav/dist/index.css'

class Example extends Component {
  render() {
    return (
      <NavBar
        links={[
          { label: 'Home', url: '/home' },
          { label: 'Products', url: '/products' },
          { label: 'About', url: '/about' },
          { label: 'Contact', url: '/contact' }
        ]}
      />
    )
  }
}

License

MIT © ChaituKNag