1.0.5 • Published 2 years ago

reactnavbar-tailwind v1.0.5

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

reactnavbar-tailwind

It is a responsive navbar component for react apps

NPM JavaScript Style Guide

Install

npm install --save reactnavbar-tailwind

Usage

import React from 'react'

import { NavBar } from 'reactnavbar-tailwind'
import 'reactnavbar-tailwind/dist/index.css'

export default function App() {
  const solutions = [
    {
      name: 'Home',
      href: '/'
    },
    {
      name: 'About',
      href: '/about'
    },
    {
      name: 'Contact',
      href: '/contact'
    }
  ]

  return (
    <NavBar
      styleTop={`sticky bg-blue-500 text-white`}
      logoImage={true}
      logoName={`https://www.google.com/images/branding/googlelogo/2x/googlelogo_light_color_92x30dp.png`}
      solutions={solutions}
    />
  )
}

License

MIT © kumard3

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago