forked from FedeMadoery/rn-dam-practica-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
37 lines (33 loc) · 984 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
33
34
35
36
37
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import * as eva from '@eva-design/eva';
import {ApplicationProvider, IconRegistry, Text} from '@ui-kitten/components';
import {EvaIconsPack} from '@ui-kitten/eva-icons';
import {SafeAreaView, StyleSheet} from 'react-native';
import {TabNavigator} from './src/navigation';
import {NavigationContainer} from '@react-navigation/native';
import {StoreComponent} from './src/store';
const styles = StyleSheet.create({});
const App = () => {
return (
<>
<IconRegistry icons={EvaIconsPack} />
<ApplicationProvider {...eva} theme={eva.light}>
<StoreComponent>
<SafeAreaView style={{flex: 1}}>
<NavigationContainer>
<TabNavigator />
</NavigationContainer>
</SafeAreaView>
</StoreComponent>
</ApplicationProvider>
</>
);
};
export default App;