-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
executable file
·38 lines (25 loc) · 844 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
26
27
28
29
30
31
32
33
34
35
36
import * as React from 'react';
import { Text, View, StyleSheet, Button } from 'react-native';
import { Constants } from 'expo';
import { createStore } from 'redux';
import { Provider} from 'react-redux';
import Home from './src/containers/Home'
import CompletedTask from './src/containers/CompletedTask'
import InCompleteTask from './src/containers/InCompleteTask'
import { createBottomTabNavigator, createAppContainer } from 'react-navigation';
import store from './src/store/index'
import CustomTabNavigator from './src/navigator/TabNavigator'
export default class App extends React.Component {
constructor(props)
{
super(props)
}
render() {
return (
<Provider store = {store}>
<Container />
</Provider>
);
}
}
const Container = createAppContainer(CustomTabNavigator);