-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
26 lines (24 loc) · 945 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
import 'react-native-gesture-handler';
import React, {Component} from 'react';
import {ApplicationProvider, IconRegistry} from '@ui-kitten/components';
import {light as lightTheme, mapping} from '@eva-design/eva';
import {default as appTheme} from './src/styles/theme.json';
import {EvaIconsPack} from '@ui-kitten/eva-icons';
import {AppNavigator} from './src/navigation/appNavigator';
import {Provider} from 'react-redux';
import {store} from './src/store';
const theme = {...lightTheme, ...appTheme};
export default class App extends Component {
render() {
return (
<Provider store={store}>
<React.Fragment>
<IconRegistry icons={EvaIconsPack} />
<ApplicationProvider mapping={mapping} theme={theme}>
<AppNavigator />
</ApplicationProvider>
</React.Fragment>
</Provider>
);
}
}