An open API service indexing awesome lists of open source software.

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

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'