-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
28 lines (24 loc) · 847 Bytes
/
App.tsx
File metadata and controls
28 lines (24 loc) · 847 Bytes
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
import 'react-native-reanimated';
import React from 'react';
import {SafeAreaView, StyleSheet, View} from 'react-native';
import {QueryClient, QueryClientProvider} from 'react-query';
import {RecoilRoot} from 'recoil';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {NavigationContainer} from '@react-navigation/native';
import {RootStackScreen} from './src/nav/RootStackScreen';
const queryClient = new QueryClient();
const App = () => {
return (
<QueryClientProvider client={queryClient}>
<RecoilRoot>
<NavigationContainer>
<SafeAreaProvider style={{backgroundColor: '#FFFFFF'}}>
<RootStackScreen />
</SafeAreaProvider>
</NavigationContainer>
</RecoilRoot>
</QueryClientProvider>
);
};
const styles = StyleSheet.create({});
export default App;