Skip to content

Overlay react component with dynamic spinners/loading components.

License

Notifications You must be signed in to change notification settings

ydornala/react-overlay-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Overlay loading

MacDown Screenshot

Installation

npm install --save react-overlay-loading

Usage


import OverlayLoader from 'react-overlay-loading/lib/OverlayLoader'

<OverlayLoader 
              color={'red'} // default is white
              loader="ScaleLoader" // check below for more loaders
              text="Loading... Please wait!" 
              active={true} 
              backgroundColor={'black'} // default is black
              opacity=".4" // default is .9  
              >
              
      ... your component(s)
 </OverlayLoader>

Loaders

* PulseLoader
* RotateLoader
* BeatLoader
* RiseLoader
* SyncLoader
* GridLoader
* ClipLoader
* FadeLoader
* ScaleLoader
* SquareLoader
* PacmanLoader
* SkewLoader
* RingLoader
* MoonLoader
* DotLoader
* BounceLoader

##Example

git clone https://github.com/ydornala/react-overlay-loading.git

cd examples

npm install

npm start

##Credits

The loaders which are used are being taken from halogen https://github.com/yuanyan/halogen

About

Overlay react component with dynamic spinners/loading components.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published