-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
34 lines (29 loc) · 883 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
30
31
32
33
34
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
*/
import React from "react";
import Navigation from "./navigation";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { PortalProvider } from "@gorhom/portal";
import { GestureHandlerRootView } from "react-native-gesture-handler";
// import { useFonts } from 'expo-font';
function App(): JSX.Element {
// const [fontsLoaded] = useFonts({
// 'Rubik-Regular': require('./assets/fonts/rubik/Rubik-Black'),
// 'Rubik-Bold': require('./assets/fonts/rubik/Rubik-Bold'),
// Add more fonts as needed
// });
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<PortalProvider>
<SafeAreaProvider>
<Navigation />
</SafeAreaProvider>
</PortalProvider>
</GestureHandlerRootView>
);
}
export default App;