Skip to content

prashantreneur/flexible-react-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

npm package for react

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published