-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
29 lines (26 loc) · 925 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import WelcomeScreen from './Screens/WelcomeScreen';
import LoginScreen from './Screens/LoginScreen';
import SignupScreen from './Screens/SignupScreen';
import WeatherScreen from './Screens/WeatherScreen';
import 'react-native-gesture-handler';
import { AppTabNavigator } from './Screens/AppTabNavigator';
import { createAppContainer, createSwitchNavigator} from 'react-navigation';
import TopTabNavigator from './Screens/MaterialTopTabNavigator';
export default class App extends React.Component {
render(){
return (
<AppContainer/>
);
}
}
var AppNavigator = createSwitchNavigator({
WelcomeScreen:WelcomeScreen,
LoginScreen:LoginScreen,
SignupScreen:SignupScreen,
WeatherScreen:WeatherScreen,
BottomTab:AppTabNavigator,
TopTabNavigator:TopTabNavigator
})
const AppContainer = createAppContainer(AppNavigator);