1.1.0 • Published 4 years ago

react-indeterminate-spinner v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Indeterminate Spinner for React

A simple indeterminate spinner for use with React.js

Installation

npm install --save react-indeterminate-spinner

Usage

const IndeterminateSpinner = require('react-indeterminate-spinner')

// ...

return (
  <div>
    <p>
      <IndeterminateSpinner size='128px' />
    </p>

    <p>
      Loading data...
    </p>
  </div>
)

Result:

Props

size

  • optional
  • type: string

The size of the spinner. Can be specified as any css-compatible length.

e.g. '100%', '128px', '1em'