react-popup-button
v1.0.9
Published
A collection of reusable React components
Downloads
4
Readme
React Popup Button
react-popup-button is a React component that displays popup and show buttons.
Installation
npm i react-popup-button
## Usage
import { Button } from 'react-popup-button'
// Button and btn id and names
const btn = [
{id: 1,
name:"Section 1",},
{id: 2,
name:"Section k",},
{id: 3,
name:"Section 3",},
{id: 4,
name:"Section 4",},
];
const App = () => {
return (
<div>
// Label is button name
<Button label="magic" btn={btn}/>
<div/>
);
};
## Addional CSS / UI Compnent View
Please make sure to install Tailwindcss this component is make to use TailwindCSS if you are use this you will get more user interface component view.
Tailwind CSS Setup - [!https://tailwindcss.com/docs/guides/create-react-app]
## Credits
Created by Niroyan.k