0.0.1 • Published 6 months ago

@salmonco/react-loader-spinner v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

PropDescriptionTypeDefault
colorColor of the loaderstringsalmon
widthWidth of elements that make up the loadernumber5
heightHeight of elements that make up the loadernumber15
radiusBorder radius of elements that make up the loadernumber2
marginDistance of elements from the center of the loadernumber10

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

Contributing

Contributions are always welcome!

License

MIT