-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
27 lines (24 loc) · 661 Bytes
/
App.tsx
File metadata and controls
27 lines (24 loc) · 661 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 { StatusBar } from 'expo-status-bar';
import React from 'react';
import { AppLoading } from 'expo';
import { Archivo_400Regular, Archivo_700Bold, useFonts } from '@expo-google-fonts/archivo';
import { Poppins_400Regular, Poppins_600SemiBold } from '@expo-google-fonts/poppins';
import AppStack from './src/routes/AppStack';
export default function App() {
let [fontsLoaded] = useFonts({
Archivo_400Regular,
Archivo_700Bold,
Poppins_400Regular,
Poppins_600SemiBold,
});
if (!fontsLoaded) {
return <AppLoading />;
} else {
return (
<>
<AppStack />
<StatusBar style="light" />
</>
);
}
}