Package Exports
- react-minimalistic-loaders
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-minimalistic-loaders) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React-minimalistic-loaders
A lightweight react loader component. I will try to add new animations and shapes consistently.
Usage:
import Loader from 'react-minimalistic-loader'
<Loader animation='NormalRotation' shape='Sunshine'/>Props:
| Name | Type | Default | Description |
|---|---|---|---|
size |
string | 28px |
The size of the loader component - must be a valid CSS size unit. |
color |
string | #000 |
The color of the loader shape and text - must be a valid CSS color. |
fontSize |
string | 28px |
The size of the loader text - must be a valid CSS size unit. |
loaderText |
string | 28px |
Loader text, inputing en empty string - "" removes the text. |
length |
string | 4s |
The length of a single animation loop - must be a valid CSS time unit. |
animation |
string | NormalRotation |
The name of the loader animation. |
shape |
string | Base |
The name of the loader shape. |
Available animations:
JumpyRotationNormalRotation
Available shapes:
BaseNothedCircleSunshine
