1.0.3 • Published 3 years ago

responsive-react-js-navbar v1.0.3

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

responsive-react-js-navbar

responsive-react-js-navbar is a React component to build a simple and responsive navbar with hamburger menu to mobile screens

Installation

Use the npm package manager to install responsive-react-js-navbar.

npm install responsive-react-js-navbar

Usage

import React from 'react';
import Navbar from 'responsive-react-js-navbar'

function App(props) {
    const links = [{
        "href": "/#",
        "label": "Home",
        "background": false,
    },
    {
        "href": "/login",
        "label": "Login",
        "background": false,
    },
    {
        "href": "/register",
        "label": "Register",
        "background": true,
    }
    ]


    return (
        <>
            <Navbar
                logo='/your-logo-url.png'
                logoHref='/where-logo-click-redirect'
                links={links}

            />
        </>
    );
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago