-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
32 lines (31 loc) · 960 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
// Libraries
import React, { Component } from 'react';
import { View } from 'react-native';
import { Provider } from 'react-redux';
// Navigator
import AppNavigation from './src/components/navigations/AppNavigation';
// Reducer
import store from './src/reducers';
// Networks
import PushNotification from './src/network/PushNotification';
// Views
import Loading from './src/components/views/partials/Loading';
import MessageBar from './src/components/views/partials/MessageBar';
import Modal from './src/components/views/partials/Modal';
export default class App extends Component {
render() {
return (
<Provider store={store}>
<View style={{ flex: 1, justifyContent: 'center' }}>
<AppNavigation />
{/* Global Components */}
<PushNotification dispatch={store.dispatch} />
<Loading />
<MessageBar />
<Modal />
{/* END */}
</View>
</Provider>
);
}
}