react-nano-spinner

1.3.0 • Public • Published

react-nano-spinner NPM version Gzipped size

A tiny no-configuration (and not configurable) spinner.

Spinner and CSS is based on SpinKit's "three-bounce".

License: https://github.com/tobiasahlin/SpinKit/blob/master/LICENSE

Usage

Install it with yarn or npm:

yarn add react-nano-spinner or npm install --save react-nano-spinner

import Spinner from 'react-nano-spinner';

...
render() {
    return (
        <div>
            <Spinner />
        </div>
    )
}
...

To style it simply override .nano-spinner-bounce in your css or supply a className, example: <Spinner className="your-extra-class" />

Why

For me to learn to publish a npm module and test rollup/rollup-starter-project

Readme

Keywords

Package Sidebar

Install

npm i react-nano-spinner

Weekly Downloads

151

Version

1.3.0

License

MIT

Unpacked Size

12.3 kB

Total Files

8

Last publish

Collaborators

  • karl.run()