-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
37 lines (31 loc) · 919 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
37
import React from "react";
import { StackNavigator } from "react-navigation";
import { Root } from "native-base";
import { createStore } from 'redux';
import {Provider} from 'react-redux';
import HomeScreen from './HomePage';
import FinancialScreen from './js/financial/index';
import LoginScreen from './js/my/login';
import VerifyScreen from './js/my/verified';
import MyRecordingScreen from './js/my/MyRecording';
import MyInfoPage from './js/my/myinfo';
const App = StackNavigator({
Home: { screen: HomeScreen },
Financial:{screen:FinancialScreen},
Login:{screen:LoginScreen},
Verify:{screen:VerifyScreen},
MyRecording:{screen:MyRecordingScreen},
MyInfo:{screen:MyInfoPage}
},
{
initialRouteName: "Home",
}
);
import rootReducer from './js/reducers'
const store = createStore(rootReducer);
export default () =>
<Root>
<Provider store={store}>
<App />
</Provider>
</Root>;