forked from agrim19/Government_Document_Uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
42 lines (40 loc) · 1.91 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
import React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
import Home from "./screens/Home";
import ChooseScreen from "./screens/SelectApplication";
import UploadDocuments from "./screens/UploadDocuments";
import PassportForm from "./screens/PassportForm";
import LicenseForm from "./screens/LicenseForm";
import { Provider as PaperProvider } from "react-native-paper";
import Successful from "./screens/Successful";
import SeeDocuments from "./screens/SeeDocuments";
import Camera from "./screens/Camera";
import Login from "./screens/LoginScreen";
import Register from "./screens/RegisterScreen";
import Onboarding from "./screens/Onboarding";
const Stack = createStackNavigator();
export default function App() {
return (
<PaperProvider>
<NavigationContainer>
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="Login" component={Login} />
<Stack.Screen name="Register" component={Register} />
<Stack.Screen name="Onboarding" component={Onboarding} />
<Stack.Screen name="See" component={SeeDocuments} />
<Stack.Screen name="Select" component={ChooseScreen} />
<Stack.Screen name="Upload" component={UploadDocuments} />
<Stack.Screen
name="PassportForm"
component={PassportForm}
/>
<Stack.Screen name="LicenseForm" component={LicenseForm} />
<Stack.Screen name="Successful" component={Successful} />
<Stack.Screen name="Scan" component={Camera} />
</Stack.Navigator>
</NavigationContainer>
</PaperProvider>
);
}