-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
23 lines (19 loc) · 808 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import 'react-native-gesture-handler';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import MainView from './assets/view/MainView';
import OrderView from './assets/view/OrderView';
import MinigameView from './assets/view/MinigameView';
const Stack = createStackNavigator();
export default function App() {
return(
<NavigationContainer>
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen name="Main" component={MainView} />
<Stack.Screen name="Order" component={OrderView} />
<Stack.Screen name="Minigame" component={MinigameView} />
</Stack.Navigator>
</NavigationContainer>
);
}