-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
31 lines (28 loc) · 788 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
import {SafeAreaView, StyleSheet} from 'react-native';
import store from "./redux/store";
import Navigation from "./navigation/Navigation";
import * as eva from '@eva-design/eva';
import { ApplicationProvider} from '@ui-kitten/components';
import {Provider} from "react-redux";
export default function App() {
return (
<>
<Provider store={store}>
<ApplicationProvider {...eva} theme={eva.light}>
<SafeAreaView style={styles.topSafeArea}/>
<SafeAreaView style={styles.mainSafeArea}>
<Navigation/>
</SafeAreaView>
</ApplicationProvider>
</Provider>
</>
);
}
const styles = StyleSheet.create({
mainSafeArea: {
flex: 1,
},
topSafeArea: {
flex: 0,
}
});