-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
29 lines (26 loc) · 927 Bytes
/
App.tsx
File metadata and controls
29 lines (26 loc) · 927 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
29
import * as React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import {AppText, Container} from '@/styles/global.style';
import StackNavigation from '@/navigation/stack.navigation';
import {RecoilRoot} from 'recoil';
import GlobalModals from '@/components/modals/globalmodal.component';
import {QueryClient, QueryClientProvider} from '@tanstack/react-query';
import {ReactQueryDevtools} from '@tanstack/react-query-devtools';
import ActionSheet from '@/components/common/actionSheet.component';
const queryClient = new QueryClient();
function App() {
return (
<QueryClientProvider client={queryClient}>
<RecoilRoot>
<NavigationContainer>
<Container>
<StackNavigation />
</Container>
<GlobalModals />
<ActionSheet />
</NavigationContainer>
</RecoilRoot>
</QueryClientProvider>
);
}
export default App;