-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
29 lines (27 loc) · 912 Bytes
/
Copy pathApp.js
File metadata and controls
29 lines (27 loc) · 912 Bytes
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
import React from 'react';
import {Text, View} from 'react-native';
import Home from './Screens/Home';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import CameraScreen from './Screens/CameraScreen';
import Camera from './Components/Camera';
import MachPhoto from './Components/MachPhoto';
import {Provider} from 'react-redux';
import {Store} from './Redux/store';
const stack = createNativeStackNavigator();
export default function App() {
return (
<Provider store={Store}>
<NavigationContainer>
<stack.Navigator>
<stack.Screen
name="Home"
options={{headerShown: false}}
component={Home}
/>
<stack.Screen name="CameraScreen" component={CameraScreen} />
</stack.Navigator>
</NavigationContainer>
</Provider>
);
}