forked from kpiteng/react-clean-architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
22 lines (20 loc) · 714 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
/* eslint-disable react/prefer-stateless-function */
import React from 'react';
import { Provider } from 'react-redux';
import { getPersistor } from '@rematch/persist';
import { StatusBar } from 'react-native';
import { PersistGate } from 'redux-persist/lib/integration/react';
import store from './src/application';
import Loader from './src/infrastructure/components/Loader';
import ToDo from './src/presentation/component';
function App() {
return (
<Provider store={store}>
<PersistGate loading={<Loader loading />} persistor={getPersistor()}>
<StatusBar barStyle="dark-content" backgroundColor="white" />
<ToDo />
</PersistGate>
</Provider>
);
}
export default App;