-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.js
29 lines (26 loc) · 791 Bytes
/
App.js
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
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import Constants from "expo-constants";
import { useFonts } from "@use-expo/font";
import AuthNavigation from "./components/navigation/AuthNavigation";
export default function App() {
let [fontsLoaded] = useFonts({
SourceSansPro: require("./assets/fonts/SourceSansPro-Regular.ttf"),
"SourceSansPro-SemiBold": require("./assets/fonts/SourceSansPro-SemiBold.ttf"),
Pattaya: require("./assets/fonts/Pattaya-Regular.ttf"),
});
return (
fontsLoaded && (
<View style={styles.container}>
<AuthNavigation />
</View>
)
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
marginTop: Constants.statusBarHeight,
},
});