1.0.8 • Published 2 years ago

button-ripple-react v1.0.8

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

Demo

How to install

// with npm
npm install button-ripple-react

or

// with yarn
yarn add button-ripple-react

How to use

import { Button } from "button-ripple-react";

const App = () => {
  return <Button>Teste</Button>;
};

Props

NameTypeDefaultDescription
children:React.ReactNodenullchildren is mandatory. content inside the button text, icon..
loadingIcon?:React.ReactNodenullLoadingIcon custom loading icon.
isLoading?:booleanfalseisLoading control the component loading state and disabled button
width?:string100%defines the width of the component . Default is 100%.
height?:string100%defines the component height. Default is 100%
backgroundColor?:string#08090Adefines the component backgroundColor. Default is '#08090A'
colorLoading?:string#FFFFFFdefines the component colorLoading. Default is #fff footer
disableLoadingRotation:?booleantruedefines whether rotation animation is active on loading. The default is true
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago