-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.jsx
31 lines (28 loc) · 1.05 KB
/
App.jsx
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
import 'react-native-gesture-handler';
import React from 'react';
import {View, StatusBar} from 'react-native';
import Home from './src/pages/Home';
import TicketList from './src/pages/TicketList';
import Summary from './src/pages/Summary';
import ChairSelection from './src/pages/ChairSelection';
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
const Stack = createStackNavigator();
function App() {
return (
<View style={{flex: 1}}>
<StatusBar translucent backgroundColor="transparent" />
<NavigationContainer>
<Stack.Navigator
screenOptions={{headerShown: false}}
initialRouteName="Home">
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="TicketList" component={TicketList} />
<Stack.Screen name="Summary" component={Summary} />
<Stack.Screen name="ChairSelection" component={ChairSelection} />
</Stack.Navigator>
</NavigationContainer>
</View>
);
}
export default App;