-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
28 lines (25 loc) · 717 Bytes
/
App.tsx
File metadata and controls
28 lines (25 loc) · 717 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
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
import React from 'react';
import {Home} from './src/scenes/home';
import {store} from './src/store/store';
import {Provider as ReduxProvider} from 'react-redux';
export const SCREENS = {
Home: {
screen: Home,
title: '🆕 Home',
},
};
const Stack = createStackNavigator();
const App = () => {
return (
<ReduxProvider store={store}>
<NavigationContainer>
<Stack.Navigator initialRouteName="Home">
<Stack.Screen name="Home" component={Home} />
</Stack.Navigator>
</NavigationContainer>
</ReduxProvider>
);
};
export default App;