Skip to content

gr8pathik/react-spinjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React SpinJS

npm

This is build on top of the fantastic spinner library, spin.js. This exposes spin.js as a component.

Usage

import ReactSpinner from 'react-spinjs';

// Put a default spinner
<ReactSpinner/>

// Pass in a config object
// See the documentation for spin.js
<ReactSpinner config={configObject}/>

// For convenience, pass in just a config
<ReactSpinner color="white"/>

Packages

No packages published

Languages

  • JavaScript 100.0%