-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
23 lines (21 loc) · 887 Bytes
/
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
import React, { Component } from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import VehicleInfo from "./Components/VehicleInfo";
import Vaahan from "./Components/Vaahan";
import Camera from "./Components/Camera";
import ImageScreen from "./Components/ImageScreen";
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="VehicleInfo">
<Stack.Screen options={{headerShown:false}} name="VehicleInfo" component={VehicleInfo} />
<Stack.Screen name="Vaahan" component={Vaahan} />
<Stack.Screen name="Camera" component={Camera} />
<Stack.Screen name="ImageScreen" component={ImageScreen} />
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;