@fenderdigital/react-wave-spinner
v1.0.0
Published
Fender React UI Kit WaveSpinner Component
Downloads
2
Readme
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 generatedcolor
- color of each bar, options are "red", "black" and "white"size
- used to compute dimensions for its wrapper and wave barssizeUnit
- 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.