-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
37 lines (30 loc) · 954 Bytes
/
App.js
File metadata and controls
37 lines (30 loc) · 954 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
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import ContainerScreen from "./src/screens/containerScreen/ContainerScreen";
import SplashScreen from "./src/screens/splashScreens/SplashScreen";
import { useState } from "react";
import { useFonts } from "expo-font";
export default function App() {
const [fontsLoaded] = useFonts({
AndikaNewBasic: require("./assets/fonts/AndikaNewBasic.ttf"),
"Rubik-Light": require("./assets/fonts/Rubik-Light.ttf"),
"Roboto-Regular": require("./assets/fonts/Roboto-Regular.ttf"),
});
if (!fontsLoaded) {
return null;
}
// const [isLoading, setIsLoading] = useState(true);
// setTimeout(() => {
// setIsLoading(false);
// clearTimeout(this);
// }, 3000);
// if (isLoading) {
// return (
// <SplashScreen />
// )
// }
return <ContainerScreen />;
}
const styles = StyleSheet.create({
container: {},
});