import { createStackNavigator } from 'react-navigation-stack';
import LoginScreen from "./LoginScreen";

// This navigator nests all screens for which a user has not been authenticated yet.
const AuthNavigator = createStackNavigator({
        loginScreen: LoginScreen,
    }, {
        headerMode: 'none',
        navigationOptions: {
            headerVisible: false,
        },
        initialRouteName: "loginScreen"
    }
);

export default AuthNavigator;
