Skip to content

karl-run/react-nano-spinner

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published