my-vite-react-ts-button
v1.0.6
Published
MyComponent is a React component that displays popup and show buttons.
Downloads
4
Readme
MyComponent
MyComponent is a React component that displays popup and show buttons.
Installation
npm i my-vite-react-ts-button
## Usage
import { Button } from 'my-vite-react-ts-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/>
);
};
## Credits
Created by Niroyan.k