-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
44 lines (37 loc) · 949 Bytes
/
App.js
File metadata and controls
44 lines (37 loc) · 949 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import Home from "./screens/Home";
import AppLoading from "expo-app-loading";
import StackNav from "./routes/HomeStackNav";
import {
useFonts,
InriaSans_300Light,
InriaSans_300Light_Italic,
InriaSans_400Regular,
InriaSans_400Regular_Italic,
InriaSans_700Bold,
InriaSans_700Bold_Italic,
} from "@expo-google-fonts/inria-sans";
export default () => {
let [fontsLoaded] = useFonts({
InriaSans_300Light,
InriaSans_300Light_Italic,
InriaSans_400Regular,
InriaSans_400Regular_Italic,
InriaSans_700Bold,
InriaSans_700Bold_Italic,
});
if (!fontsLoaded) {
return <AppLoading />;
} else {
return <StackNav />;
}
};
// const styles = StyleSheet.create({
// container: {
// flex: 1,
// backgroundColor: '#fff',
// alignItems: 'center',
// justifyContent: 'center',
// },
// });