@salmonco/react-loader-spinner
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

react-loader-spinner

You can display the loading status visually through the loader.

Screenshot

fade0 fade1 fade2

You can resize the loader using margin.

Installation

npm install @salmonco/react-loader-spinner

Usage

import { FadeLoader } from '@salmonco/react-loader-spinner';

<FadeLoader color="green" width={3} height={10} margin={8} />;

Props

Prop Description Type Default
color Color of the loader string salmon
width Width of elements that make up the loader number 5
height Height of elements that make up the loader number 15
radius Border radius of elements that make up the loader number 2
margin Distance of elements from the center of the loader number 10

If you write it as a number, it will automatically be treated as px.

Contributing

Contributions are always welcome!

License

MIT

Package Sidebar

Install

npm i @salmonco/react-loader-spinner

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

5.59 kB

Total Files

8

Last publish

Collaborators

  • salmonco