Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

react-spinjs

3.0.0 • Public • Published

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"/>

Install

npm i react-spinjs

DownloadsWeekly Downloads

630

Version

3.0.0

License

MIT

Last publish

Collaborators

  • avatar