vn-verdnaturachat/app/views/ShareView/Loading.js

24 lines
479 B
JavaScript
Raw Normal View History

2019-07-18 17:44:02 +00:00
import React from 'react';
import {
StyleSheet, ActivityIndicator, View
} from 'react-native';
import { COLOR_TEXT } from '../../constants/colors';
const styles = StyleSheet.create({
container: {
height: '100%',
width: '100%',
position: 'absolute',
justifyContent: 'center',
alignItems: 'center'
}
});
const Loading = React.memo(() => (
<View style={styles.container}>
<ActivityIndicator size='large' color={COLOR_TEXT} />
</View>
));
export default Loading;