-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
28 lines (26 loc) · 796 Bytes
/
App.tsx
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
/**
* WhoSings App
* @author Mattia Sanfilippo
* @format
*/
import 'react-native-gesture-handler';
import React from 'react';
import {ApplicationProvider, IconRegistry} from '@ui-kitten/components';
import {EvaIconsPack} from '@ui-kitten/eva-icons';
import * as eva from '@eva-design/eva';
import {AppNavigator} from './src/Home';
import {Provider} from 'react-redux';
import {store} from './src/shared/store/configureStore';
import {SafeAreaView} from 'react-native';
export default (): React.ReactFragment => (
<>
<IconRegistry icons={EvaIconsPack} />
<ApplicationProvider {...eva} theme={eva.light}>
<Provider store={store}>
<SafeAreaView style={{flex: 1}}>
<AppNavigator />
</SafeAreaView>
</Provider>
</ApplicationProvider>
</>
);