-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
27 lines (22 loc) · 745 Bytes
/
App.js
File metadata and controls
27 lines (22 loc) · 745 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
import React from "react";
import { useFonts } from "expo-font";
import { StatusBar } from "expo-status-bar";
import { AuthProvider } from "./Context/AuthContext.js";
import Navigation from "./Pages/Components/Navigation.js";
function App() {
let [fontsLoaded] = useFonts({
Inter: require("./Public/Fonts/Inter-Bold.ttf"),
"Be Vietnam": require("./Public/Fonts/BeVietnamPro-Regular.ttf"),
"Be Vietnam italic": require("./Public/Fonts/BeVietnamPro-Italic.ttf"),
"Be Vietnam bold": require("./Public/Fonts/BeVietnamPro-Bold.ttf"),
});
if (!fontsLoaded) {
return null;
}
return (
<AuthProvider>
<Navigation />
</AuthProvider>
);
}
export default App;