0.1.8 • Published 11 months ago

reactjs-button-component v0.1.8

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

Installation

Run the following commands to add UI library to your project:

npm i reactjs-button-component

Button Component

Import

import { Button } from 'reactjs-button-component';

Props

NameTypeDefaultDescription
variant'contained' | 'text' | 'outline' | string'contained'The variant to use
textstring'text'The text value of button component
size'small' | 'medium' | 'large' | string'medium'The size of component
disabledtrue | false | boolfalseIf true the component is disabled
backgroundColorstringThe background-color of component
textColorstringThe color of text value inside component
startIconelementTypefalseThe component used for the root node
endIconelementTypefalseThe component used for the root node

Design

You may be seeing Design.