minecraft-tools/app/_layout.tsx

21 lines
608 B
TypeScript
Raw Normal View History

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.Screen name="saved-coordinates" options={{ headerShown: false }} />
</Stack>
);
}