20 lines
No EOL
527 B
TypeScript
20 lines
No EOL
527 B
TypeScript
import * as Font from "expo-font";
|
|
import { Stack } from "expo-router";
|
|
|
|
export default function RootLayout() {
|
|
const [fontsLoaded] = Font.useFonts({
|
|
Minecraft: require("../assets/fonts/Minecraft.ttf"),
|
|
});
|
|
|
|
if (!fontsLoaded) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<Stack>
|
|
<Stack.Screen name="index" options={{ headerShown: false }} />
|
|
<Stack.Screen name="nether-portal-calculator" options={{ headerShown: false }} />
|
|
<Stack.Screen name="todo" options={{ headerShown: false }} />
|
|
</Stack>
|
|
);
|
|
} |