responsive-navbar-react
v1.2.1
Published
Made with create-react-library
Downloads
228
Maintainers
Readme
responsive-navbar-react
Install
npm install --save responsive-navbar-react
Example
Usage
import React from 'react'
import { Navbar } from 'responsive-navbar-react'
import 'responsive-navbar-react/dist/index.css'
const Home = () => {
const props = {
items: [
{
text: 'Home',
link: '/'
},
{
text: 'Doc',
link: '#docs'
},
{
text: 'Custom',
link: '#custom-bar'
},
{
text: 'Contact',
link: '#contact'
}
],
logo: {
text: 'Responsive Navbar React'
},
style: {
barStyles: {
background: '#444'
},
sidebarStyles: {
background: '#222',
buttonColor: 'white'
}
}
}
return <Navbar {...props} />
}
More Documentation is at : https://bdbose.github.io/responsive-navbar-react
License
MIT © bdbose