-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
49 lines (41 loc) · 1.6 KB
/
App.js
File metadata and controls
49 lines (41 loc) · 1.6 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { View, StyleSheet,Button, Text } from 'react-native';
import { Appbar, BottomNavigation, Card} from 'react-native-paper';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import Constants from 'expo-constants';
//import { registerRootComponent } from 'expo';
import Home from './Pages/Home.js';
import Setting from './Pages/Setting.js';
import Building from './Pages/Building.js';
import LogIn from './Pages/LogIn.js';
import Splash from './Pages/Splash.js';
import styles from './Pages/styles.js';
import { registerRootComponent } from 'expo';
import HH from './Pages/HagertyHall.js';
import SL from './Pages/SmithLab.js';
import OU from './Pages/OhioUnion.js';
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer style = {styles.nav}>
<Stack.Navigator initialRouteName = 'Splash'>
<Stack.Screen name = 'Splash' component={Splash}/>
<Stack.Screen name = 'Home' component = {Home}/>
<Stack.Screen name = 'Setting' component = {Setting}/>
<Stack.Screen name = 'OU' component = {OU}/>
<Stack.Screen name = 'HH' component = {HH}/>
<Stack.Screen name = 'SL' component = {SL}/>
</Stack.Navigator>
</NavigationContainer>
);
}
// Removed screens
// <Stack.Screen name = 'Building' component = {Building}/>
// <Stack.Screen name = 'LogIn' component = {LogIn}/>
/* <View style = {styles.loadingPage}>
<Text style = {styles.title}>
enterOSU
</Text>
</View>
*/