react-native-gifted-spinner
ActivityIndicator should be used instead
This package is now deprecated.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
size={'large'} // ios size
style={{
height: 20, // android size
}}
/>
</View>
);
}
});
Installation
npm install react-native-gifted-spinner --save
License
Feel free to ask me questions on Twitter @FaridSafi !