Repository navigation
Expand file tree
/
Copy pathApp.js
More file actions
38 lines (36 loc) · 1.69 KB
/
Copy pathApp.js
File metadata and controls
38 lines (36 loc) · 1.69 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
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import MainScreen from "./screens/MainScreen";
import QuoteScreen from "./screens/QuoteScreen";
import ListScreen from "./screens/ListScreen";
import ButtonScreen from "./screens/ButtonScreen";
import { createStackNavigator } from "@react-navigation/stack";
import MenuScreen from "./screens/MenuScreen";
import StudentsScreen from "./screens/StudentsScreen";
import BoxScreen from "./screens/BoxScreen";
import PostsScreen from "./screens/PostsScreen";
import CountriesScreen from "./screens/CountriesScreen";
import ProductScreen from "./screens/ProductScreen";
const Stack = createStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Menu">
<Stack.Screen name="Main" component={MainScreen}></Stack.Screen>
<Stack.Screen name="List" component={ListScreen}></Stack.Screen>
<Stack.Screen name="Quote" component={QuoteScreen}></Stack.Screen>
<Stack.Screen name="Button" component={ButtonScreen}></Stack.Screen>
<Stack.Screen name="Menu" component={MenuScreen}></Stack.Screen>
<Stack.Screen name="Students" component={StudentsScreen}></Stack.Screen>
<Stack.Screen name="Box" component={BoxScreen}></Stack.Screen>
<Stack.Screen name="Posts" component={PostsScreen}></Stack.Screen>
<Stack.Screen name="Products" component={ProductScreen}></Stack.Screen>
<Stack.Screen
name="Countries"
component={CountriesScreen}
></Stack.Screen>
</Stack.Navigator>
</NavigationContainer>
);
}