React js clip loader component
npm install --save react-clip-loader
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} />
}
}
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' |
You can find demo here
MIT © oreste-abizera