React js clip loader component
npm install react-clip-loader> React js clip loader component
 
``bash`
npm install --save react-clip-loader
`tsx
import React, { Component } from 'react'
import { Loader } from 'react-clip-loader'
import 'react-clip-loader/dist/index.css'
class Example extends Component {
render() {
return
}
}
`
| Attributes | Description | type | Defaults |
| -------------- | ----------------------------------------- | --------- | ----------- |
| small | Size of the loader | boolean | false |string
| color | Color of the active part of loader | | '#2d4059' |string
| secondaryColor | Color of the remaining part of the loader | | '#e5e5e5'` |
You can find demo here
MIT © oreste-abizera