dynamic-react-navbar
v1.0.0
Published
some navbars for react
Downloads
11
Readme
dynamic-react-navbar
some navbars for react-js
Install
npm install --save dynamic-react-navbar
Usage
import React, { Component } from 'react'
import Navbar from 'dynamic-react-navbar'
import 'dynamic-react-navbar/dist/index.css'
class Example extends Component {
render() {
const links = [
{ caption: 'Home', path: '/', key: '1' },
{ caption: 'About', path: '/about', key: '2' },
{ caption: 'Contact', path: '/Contact', key: '3' },
];
return <Navbar links={links} />
}
}
License
MIT © mjkatgithub