Project logo

React Loading Button

Status
GitHub Issues
GitHub Pull Requests

Build
License


A small react loading button component for getting flexibility to show other content instead of full screen loader while submitting API request.

? 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.

GitHub

View Github