-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
37 lines (33 loc) · 997 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
29
30
31
32
33
34
35
36
37
// import ' ';
import 'react-native-gesture-handler';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import React from 'react';
import { SafeAreaView, StatusBar,Text, StyleSheet } from 'react-native';
import RootNavigation from './src/navigation/root-nav';
import { Provider } from 'react-redux';
import { QueryClient, QueryClientProvider } from 'react-query';
import { store } from './src/store';
export const queryClient = new QueryClient();
function App() {
return (
<SafeAreaView style={ss.root}>
<StatusBar
barStyle="light-content"
backgroundColor="rgba(20, 50, 88, 1)"
/>
<QueryClientProvider client={queryClient}>
<Provider store={store}>
<GestureHandlerRootView style={ss.root}>
<RootNavigation />
</GestureHandlerRootView>
</Provider>
</QueryClientProvider>
</SafeAreaView>
);
}
const ss = StyleSheet.create({
root: {
flex: 1,
},
});
export default App;