A useful library for using buttons in react
npm i button-react-shahriarp
Or
https://www.npmjs.com/package/button-react-shahriarp
In a React app, use the Button components: import { Button } from 'button-react-shahriarp'
Name | Description |
---|---|
btnColor | 'purple' |
type | 'button' |
name | string |
value | string |
disabled | Boolean |
onClick | function |
| 'purple' | 'yellow' | 'deeporange' | 'orange' | ' green' | ' cyan' | ' black'