1.0.8 • Published 3 years ago

@girishsawant999/react-loading-button v1.0.8

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

Status GitHub Issues GitHub Pull Requests

Build License


📝 Usage

Just install the package using command

npm install @girishsawant999/react-loading-button

And then import component in your react app

import Button from '@girishsawant999/react-loading-button';

// Use Button Component

<Button loading={isLoading}>Loading Button</Button>;

That's all and you are ready to go.

📃 Props

PropTypesDescription
loadingBooleanDefault: falseAdded loader in button when value is true
buttonTypeprimary, secondary, danger, success, warning, info, light, dark, glassDefault: primarySet type of layout to button you can check it on playground
loaderspinner, circle-notch, three-dots, ball-triangle, bars, filling-box, puff, half-circles, circular-stripesDefault: spinnerSet type of loader in button while loading

Additionally you can pass any other props to button

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

0.1.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago