-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
101 lines (99 loc) · 2.99 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* eslint-disable react/react-in-jsx-scope */
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import {NavigationContainer} from '@react-navigation/native';
import {HomePage} from './Screens/HomePage';
import ContextState from './Context/ContextState';
import {ChatPage} from './Screens/ChatPage';
import {MailPage} from './Screens/MailPage';
import {CodePage} from './Screens/CodePage';
import {ToastProvider} from 'react-native-toast-notifications';
import {OnboardingScreen} from './Screens/OnboardingScreen';
import {Initial} from './Screens/Initial';
import {EsseyPage} from './Screens/EsseyPage';
import {PlagiarismPage} from './Screens/Plagiarism';
import Features from "./Screens/Features";
import ImageChat from "./Screens/ImageChat";
function App(): JSX.Element {
const Stack = createNativeStackNavigator();
return (
<ToastProvider>
<ContextState>
<NavigationContainer>
<Stack.Navigator initialRouteName={'Initial'}>
<Stack.Screen
name={'Initial'}
component={Initial}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'Onboarding'}
component={OnboardingScreen}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'HomePage'}
component={HomePage}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'ChatPage'}
component={ChatPage}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'ImageChat'}
component={ImageChat}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'FeaturesPage'}
component={Features}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'MailPage'}
component={MailPage}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'EsseyPage'}
component={EsseyPage}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'PlagiarismPage'}
component={PlagiarismPage}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name={'CodePage'}
component={CodePage}
options={{
headerShown: false,
}}
/>
</Stack.Navigator>
</NavigationContainer>
</ContextState>
</ToastProvider>
);
}
export default App;