react-clip-loader
v1.0.3
Published
React js clip loader component
Downloads
50
Readme
react-clip-loader
React js clip loader component
Install
npm install --save react-clip-loader
Usage
import React, { Component } from 'react'
import { Loader } from 'react-clip-loader'
import 'react-clip-loader/dist/index.css'
class Example extends Component {
render() {
return <Loader small={false} />
}
}
Options
| Attributes | Description | type | Defaults |
| -------------- | ----------------------------------------- | --------- | ----------- |
| small | Size of the loader | boolean
| false
|
| color | Color of the active part of loader | string
| '#2d4059'
|
| secondaryColor | Color of the remaining part of the loader | string
| '#e5e5e5'
|
Demo
You can find demo here
License
MIT © oreste-abizera