1.0.4 • Published 2 years ago

flexible-react-button v1.0.4

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

flexible-react-button

Installation

Install React Button with npm

  npm install flexible-react-button

Usage

In a React app, use the Button component:

import { Button } from 'flexible-react-button'

Documentation

Button Props

variant

'primary', 'secondary', 'info', 'success', 'warning', 'error', 'light', 'dark'

For custom button color

colorCode

'#yourcolorcode'

textColor

'#yourcolorcode'


size

'small', 'medium'

disabled

boolean :- 'true', 'false'

onClick

function()