text: import React from 'react';
  import {StyleSheet, Text, View, ActivityIndicator} from 'react-native';
  
  const Loading = () => {
    return (
      <View style={styles.container}>
        <ActivityIndicator size="large" color="white" />
        <Text style={styles.loadingtext}>Please Wait</Text>
      </View>
    );
  };
  
  export default Loading;
  
  const styles = StyleSheet.create({
    container: {
      flex: 1,
      position: 'absolute',
      justifyContent: 'center',
      alignItems: 'center',
      backgroundColor: 'rgba(0,0,0,0.8)',
      height: '100%',
      width: '100%',
    },
    loadingtext: {
      color: 'white',
      fontSize: 15,
    },
  });
  