react-native-loading

0.1.0 • Public • Published

react-native-loading

A lightweight loading for your React Native app.

Installation

npm install react-native-loading --save

Usage

Using the Loading usually looks like this:

var Loading = require('react-native-loading');
 
var Demo = React.createClass({
  
  getInitialState() {
    return {
      isLoadingVisible: false
    };
  },
  ...
 
  render() {
    return (
      <View>
        ...
        <Loading
          isVisible={this.state.isLoadingVisible}
        />
      </View>
    );
  }

License

react-native-loading is available under the MIT license. See the LICENSE file for more info.

/react-native-loading/

    Package Sidebar

    Install

    npm i react-native-loading

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • alcat2008