https://github.com/shahriyarp/react-button-library
Useful button library react.js
https://github.com/shahriyarp/react-button-library
button button-css buttons library react react-libraries react-library reactjs
Last synced: 5 months ago
JSON representation
Useful button library react.js
- Host: GitHub
- URL: https://github.com/shahriyarp/react-button-library
- Owner: ShahriyarP
- Created: 2023-02-21T09:01:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-22T08:57:04.000Z (about 3 years ago)
- Last Synced: 2024-10-21T15:05:26.156Z (over 1 year ago)
- Topics: button, button-css, buttons, library, react, react-libraries, react-library, reactjs
- Language: HTML
- Homepage: https://www.npmjs.com/package/button-react-shahriarp
- Size: 374 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Title
A useful library for using buttons in react
### Installing
npm i button-react-shahriarp
Or
https://www.npmjs.com/package/button-react-shahriarp
### Usage
In a React app, use the Button components:
import { Button } from 'button-react-shahriarp'
#### Button props
| Name | Description
| ----------- | -----------
| btnColor | 'purple' | 'yellow' | 'deeporange' | 'orange' | ' green' | ' cyan' | ' black'
| type | 'button' | 'submit' | 'reset'
| name | string
| value | string
| disabled | Boolean
| onClick | function
### In addition, you can use bgColor below 👇🏻👇🏻
| 'purple' | 'yellow' | 'deeporange' | 'orange' | ' green' | ' cyan' | ' black'