color-spinner
Version:
Multicolor spinner
37 lines (23 loc) • 683 B
Markdown
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
1. size (*default: small*)
- small
- medium
- large
2. sectorColor1 (*default: `#ea4335`*)
3. sectorColor2 (*default: `#4285f4`*)
4. sectorColor3 (*default: `#34a853`*)
5. sectorColor4 (*default: `#fbbc05`*)
**Usage**
Here's a simple example
```
import { Spinner } from 'color-spinner'
ReactDOM.render(<Spinner>, mountNode);
```