-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
23 lines (20 loc) · 690 Bytes
/
App.js
File metadata and controls
23 lines (20 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { PaperProvider } from 'react-native-paper';
import Navigation from './navigation/Navigation';
import theme from './constants/theme';
import { AuthProvider } from './context/AuthContext';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { Text } from 'react-native';
const queryClient = new QueryClient()
export default function App() {
return (
<QueryClientProvider client={queryClient}>
<AuthProvider>
<PaperProvider theme={theme}>
<Navigation />
</PaperProvider>
</AuthProvider>
</QueryClientProvider>
);
}
Text.defaultProps = Text.defaultProps || {};
Text.defaultProps.allowFontScaling = false;