Package Exports
- react-dots-loader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-dots-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-dots-loader
A nice loader showing 3 animated dots - carefully crafted for React
Motivation
Micro-componentization rules!
Install
$ npm i --save react-dots-loaderUsage
Require both the .js and the .css
import Loader from 'react-dots-loader'
import 'react-dots-loader/index.css'
//default loader
<Loader />
//hidden loader
<Loader visible={false}/>
//smaller dots
<Loader size={10}/>
//more distance between dots
<Loader distance={30}/>Props
visible: Booleansize: Numbercolor: String