react-dots-loader

1.1.4 • Public • Published

react-dots-loader

A nice loader showing 3 animated dots - carefully crafted for React

Motivation

Micro-componentization rules!

Install

$ npm i --save react-dots-loader

Usage

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: Boolean
  • size: Number
  • color: String

License

MIT

Package Sidebar

Install

npm i react-dots-loader

Weekly Downloads

1,087

Version

1.1.4

License

MIT

Unpacked Size

38.7 kB

Total Files

22

Last publish

Collaborators

  • zippyui