A lightweight loading for your React Native app.
npm install react-native-loading --save
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>
);
}
react-native-loading
is available under the MIT license. See the LICENSE file for more info.