import React from 'react';
import { View, Text } from 'react-native';

export default () => {
    return (
        <View style={styles.container}>
            <Text>
                Logout ...
            </Text>
        </View>
    );
};

const styles = {
    container: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center'
    }
};
import React from 'react';
import { View, Text, ActivityIndicatorIOS } from 'react-native';

export default () => {
    return (
        <View style={styles.container}>
            <Text>
                Loading
            </Text>
            <ActivityIndicatorIOS
                animating={true}
                size='large'
                style={styles.activityIndicator}
            />
        </View>
    );
};

const styles = {
    container: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center'
    },
    activityIndicator: {
        marginTop: 15
    }
};
Update the loading screen with an ActivityIndicator
Update the loading screen with an ActivityIndicator
