Skip to content

About

React component wrapper for spin.js

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

react-tiny-spin

Tiny React wrapper around spin.js.

Usage

import React from 'react';
import Spinner from 'react-tiny-spin';

const spinCfg = {
  width: 12,
  radius: 35,
  // ...
};

class MyComponent extends React.Component {
  render() {
    return <Spinner config={spinCfg} />
  }
}

Properties

config Spin.js configuration object. See here for options.
stopped Boolean indicating whether the spinner is stopped or not. Can be toggled on and off.

About

React component wrapper for spin.js

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages