added stack navigator

Created new branch, seems to be working fine.
This commit is contained in:
bobbert committed 2025-10-10 14:07:06 +01:00
1 parent 8ad66ca2a7
commit 5732239c5b
8 files changed
+304 -22

No files matched your search

@@ -0,0 +1,22 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
const Stack = createNativeStackNavigator();
export const App = () => {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="ModuleListScreen">
<Stack.Screen
name="ModuleListScreen"
component={ModuleListScreen}
options={{ title: "List Modules" }}
/>
</Stack.Navigator>
</NavigationContainer>
);
};
export default App;