WaveSpinner for Fender React UI Kit
Description
Spinner with wave like animation
Installation and Usage
yarn add @fenderdigital/react-wave-spinner --save
import WaveSpinner from '@fenderdigital/react-wave-spinner';
Props
-
bars
- number of bars in wave spinner to be generated -
color
- color of each bar, options are "red", "black" and "white" -
size
- used to compute dimensions for its wrapper and wave bars -
sizeUnit
- size unit inpx
, no other unit sizes can be used.
propName | propType | defaultValue | isRequired |
---|---|---|---|
bars | number | 10 | no |
color | string | red | no |
size | number | 30 | yes |
sizeUnit | string | 'px' | no |
Development
Check the Monorepo README for development documentation.