-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
25 lines (23 loc) · 868 Bytes
/
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
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { home } from './components/home';
import todoDetails from './components/todoDetails';
import {Provider} from "react-redux"
import store from "./src/app/store"
const Stack = createNativeStackNavigator();
export default function App() {
return (
<Provider store={store}>
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen
name="Home"
component={home}
options={{ title: 'TODO APP' }}
/>
<Stack.Screen name="todoDetails" component={todoDetails} />
</Stack.Navigator>
</NavigationContainer>
</Provider>
);
}