-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
20 lines (18 loc) · 680 Bytes
/
App.tsx
File metadata and controls
20 lines (18 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { NativeBaseProvider } from 'native-base';
import { AppContainer } from './src/modules/navigation/AppContainer';
import { Toast } from './src/shared/components/Toast';
import { theme } from './src/shared/theme';
import { QueryClient, QueryClientProvider } from 'react-query';
const queryClient = new QueryClient();
export const App = () => (
<NavigationContainer>
<QueryClientProvider client={queryClient}>
<NativeBaseProvider theme={theme}>
<AppContainer />
<Toast />
</NativeBaseProvider>
</QueryClientProvider>
</NavigationContainer>
);