-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
47 lines (44 loc) · 1.77 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import * as React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { NativeBaseProvider } from "native-base";
import {
DashboardScreen,
WisataScreen,
WisataDetailScreen,
WisataDetailScreen1,
UKMScreen,
UKMDetailScreen,
UKMDetailScreen1,
SbyBusScreen,
SbyBusDetailScreen1,
SbyBusDetailScreen2,
SbyBusDetailScreen3,
SbyBusDetailScreen4,
SbyBusDetailScreen5,
} from "./screens";
const Stack = createNativeStackNavigator();
const App = () => {
return (
<NativeBaseProvider>
<NavigationContainer>
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen name="DashboardScreen" component={DashboardScreen} />
<Stack.Screen name="WisataScreen" component={WisataScreen} />
<Stack.Screen name="WisataDetail" component={WisataDetailScreen} />
<Stack.Screen name="WisataDetail1" component={WisataDetailScreen1} />
<Stack.Screen name="UKMScreen" component={UKMScreen} />
<Stack.Screen name="UKMDetail" component={UKMDetailScreen} />
<Stack.Screen name="UKMDetail1" component={UKMDetailScreen1} />
<Stack.Screen name="SbyBusScreen" component={SbyBusScreen} />
<Stack.Screen name="SbyBusDetail1" component={SbyBusDetailScreen1} />
<Stack.Screen name="SbyBusDetail2" component={SbyBusDetailScreen2} />
<Stack.Screen name="SbyBusDetail3" component={SbyBusDetailScreen3} />
<Stack.Screen name="SbyBusDetail4" component={SbyBusDetailScreen4} />
<Stack.Screen name="SbyBusDetail5" component={SbyBusDetailScreen5} />
</Stack.Navigator>
</NavigationContainer>
</NativeBaseProvider>
);
};
export default App;