344303947 / react-native-gifted-spinner

Simple loading spinner that use React-Native ProgressBarAndroid or ActivityIndicatorIOS depending of the platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-gifted-spinner

Simple loading spinner that use React-Native ProgressBarAndroid or ActivityIndicatorIOS depending of the platform.

Example

var React = require('react-native');
var {
  View,
} = React;

var GiftedSpinner = require('react-native-gifted-spinner');

var Example = React.createClass({
  render() {
    return (
      <View style={{
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
      }}>
        <GiftedSpinner />
      </View>
    );
  }
});

Installation

npm install react-native-gifted-spinner --save

License

MIT

Feel free to ask me questions on Twitter @FaridSafi !

About

Simple loading spinner that use React-Native ProgressBarAndroid or ActivityIndicatorIOS depending of the platform.

License:MIT License


Languages

Language:JavaScript 100.0%