React Laser Beam
A loading progress for react to improve your site interactive and experience inspired by youtube and github.
Demos and Docs
See the http://chikara-chan.github.io/react-laser-beam for more.
Installation
$ npm install --save react-laser-beam
Usage
import LaserBeam from 'react-laser-beam'
<LaserBeam show={this.state.showLoading}/>
Local setup
- Install the dependencies with
npm install
- Run tests
npm test
- Run tests in watch mode
npm run test:dev
- Run the docs site in development mode with
npm start
. This will watch for file changes as you work. - Build the docs site with
npm run build-docs
- Build the project for npm with
npm run prepublish
License
MIT