0.6.2 • Published 7 years ago

react-facebook-loading v0.6.2

Weekly downloads
321
License
MIT
Repository
github
Last release
7 years ago

react-facebook-loading build status Coverage Status

NPM

The Facebook loading animation for React.

Demo: https://cheton.github.io/react-facebook-loading

Installation

  1. Install the latest version of react and react-facebook-loading:

    npm install --save react react-facebook-loading
  2. At this point you can import react-facebook-loading and its styles in your application as follows:

    import FacebookLoading from 'react-facebook-loading';
    
    // Be sure to include styles at some point, probably during your bootstraping
    import 'react-facebook-loading/dist/react-facebook-loading.css';

Usage

<FacebookLoading
    delay={0}
    duration={800}
    zoom={1}
    style={{ margin: '0 auto' }}
/>

API

Properties

License

MIT