flash-loader
v0.1.4
Published
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)
Downloads
5
Readme
Flash-Loader ⚡️ ⚡️
Flash loader is a fun , lightweight react component library .It supports three different loaders created by spritesheet animation and can be used in place of the traditional spinner to depict fetching/loading of data on a page.
Find it here
How to install and run ?
# To install
npm i flash-loader
# Then import in your project to use it
import FlashLoader from "flash-loader";
Modes
The flash loader expects two props (otherwise shows default)
- type: string
- open: bool
- Running flash
running loader appears when type is set to "runbarry"
Here is an example
<FlashLoader open={true} type="runbarry"/>
- Rotate Flash
It appears when type is set to "rotate"
<FlashLoader open={true} type="rotate"/>
- Jump Flash
It appears when type is set to "jump"
<FlashLoader open={true} type="jump"/>
Hang in!
New updates coming in a ⚡️