/react-native-gifted-spinner

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

Primary LanguageJavaScriptMIT LicenseMIT

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 !