-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
73 lines (73 loc) · 2.03 KB
/
App.js
File metadata and controls
73 lines (73 loc) · 2.03 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
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
import * as React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import Home from './src/Home';
import ImageEdit from './src/ImageEdit';
import DashBoard from './src/DashBoard';
import OCR from './src/OCRView';
import Detail from './src/Detail'
import {LogBox} from 'react-native'
import ViewResults from './src/ViewResults'
LogBox.ignoreLogs(['Invalid prop textStyle of type array supplied to Cell']);
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="DashBoard">
<Stack.Screen
name="Home"
component={Home}
/>
<Stack.Screen
name="DashBoard"
component={DashBoard}
/>
<Stack.Screen
name="ImageEdit"
component={ImageEdit}
options={{
title: 'ImageEdit',
headerStyle: {
backgroundColor: '#2288ee',
},
headerTintColor: '#fff',
}}
/>
<Stack.Screen
name="ViewResults"
component={ViewResults}
options={{
title: 'ViewResults',
headerStyle: {
backgroundColor: '#2288ee',
},
headerTintColor: '#fff',
}}
/>
<Stack.Screen
name="OCR"
component={OCR}
options={{
title: 'OCR',
headerStyle: {
backgroundColor: '#2288ee',
},
headerTintColor: '#fff',
}}
/>
<Stack.Screen
name="Detail"
component={Detail}
options={{
title: 'Detail',
headerStyle: {
backgroundColor: '#2288ee',
},
headerTintColor: '#fff',
}}
/>
</Stack.Navigator>
</NavigationContainer>
);
}
// LogBox.ignoreLogs(['Invalid prop textStyle of type array supplied to Cell']);