react-native-infinite-scroll-view
Version:
An infinitely scrolling view that notifies you as the scroll offset approaches the bottom
25 lines (21 loc) • 483 B
JavaScript
import React from 'react';
import { ActivityIndicator, StyleSheet, View } from 'react-native';
export default class DefaultLoadingIndicator extends React.Component {
render() {
return (
<View style={styles.container}>
<ActivityIndicator />
</View>
);
}
}
let styles = StyleSheet.create({
container: {
flex: 1,
padding: 20,
backgroundColor: 'transparent',
justifyContent: 'center',
alignItems: 'center',
},
});
;