forked from santosfamilyfoundation/RuinaMain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
23 lines (20 loc) · 695 Bytes
/
App.js
File metadata and controls
23 lines (20 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import { ApplicationProvider, IconRegistry } from '@ui-kitten/components';
import { EvaIconsPack } from '@ui-kitten/eva-icons';
import { mapping, light as theme } from '@eva-design/eva';
import { AppNavigator } from './appNavigator';
import configureStore from './store';
const store = configureStore()
const App = () => (
<React.Fragment>
<IconRegistry icons={EvaIconsPack}/>
<ApplicationProvider mapping={mapping} theme={theme}>
<Provider store = { store }>
<AppNavigator/>
</Provider>
</ApplicationProvider>
</React.Fragment>
);
export default App;