-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.tsx
36 lines (28 loc) · 833 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
35
36
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { StatusBar } from 'expo-status-bar';
import { AppLoading } from 'expo';
import { NavigationContainer } from '@react-navigation/native'
// Fonts //
import { Signika_400Regular, Signika_700Bold } from '@expo-google-fonts/signika'
import { BalsamiqSans_400Regular, BalsamiqSans_700Bold, useFonts } from '@expo-google-fonts/balsamiq-sans'
import Routes from './src/routes'
export default function App() {
let [fontsLoaded] = useFonts({
BalsamiqSans_400Regular,
BalsamiqSans_700Bold,
Signika_400Regular,
Signika_700Bold
});
if (!fontsLoaded) {
return <AppLoading />
}
else {
return (
<NavigationContainer>
<Routes/>
<StatusBar style="auto" />
</NavigationContainer>
);
}
}