-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.tsx
29 lines (26 loc) · 935 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
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import * as React from "react";
import {
SafeAreaProvider,
initialWindowMetrics,
} from "react-native-safe-area-context";
import CustomStatusBar from "./client/components/CustomStatusBar";
import Player from "./client/components/Player";
import RootTabNavigator from "./client/navigation/RootTabNavigator";
import { PaperNavigationProvider, ThemeModeProvider } from "./client/theme";
const queryClient = new QueryClient();
export default function App() {
return (
<QueryClientProvider client={queryClient}>
<SafeAreaProvider initialMetrics={initialWindowMetrics}>
<ThemeModeProvider>
<PaperNavigationProvider>
<CustomStatusBar />
<RootTabNavigator />
<Player />
</PaperNavigationProvider>
</ThemeModeProvider>
</SafeAreaProvider>
</QueryClientProvider>
);
}