Color-Spinner is designed for rendering different sizes with customize colors of spinners.
Supported Platforms
Color-Spinner supports the latest, stable releases of all major browsers and platforms.
Installation
npm install color-spinner
Props
All these props are optional
- size (default: small)
- small
- medium
- large
- sectorColor1 (default:
#ea4335
) - sectorColor2 (default:
#4285f4
) - sectorColor3 (default:
#34a853
) - sectorColor4 (default:
#fbbc05
)
Usage
Here's a simple example
import { Spinner } from 'color-spinner'
ReactDOM.render(<Spinner>, mountNode);