reactjs-button-component

0.1.8 • Public • Published

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

Name Type Default Description
variant 'contained' | 'text' | 'outline' | string 'contained' The variant to use
text string 'text' The text value of button component
size 'small' | 'medium' | 'large' | string 'medium' The size of component
disabled true | false | bool false If true the component is disabled
backgroundColor string The background-color of component
textColor string The color of text value inside component
startIcon elementType false The component used for the root node
endIcon elementType false The component used for the root node

Design

You may be seeing Design.

Readme

Keywords

Package Sidebar

Install

npm i reactjs-button-component

Weekly Downloads

2

Version

0.1.8

License

none

Unpacked Size

36.3 kB

Total Files

25

Last publish

Collaborators

  • hieudnguyen