mirror of
https://github.com/mudabbir-ahmad/Project-MAD-crudler.git
synced 2026-10-07 20:40:20 +00:00
Fix to app.js accidentally deleted it, used git history to recover it.
This commit is contained in:
1 parent
9af2d7379a
commit
7d872917fc
4 files changed
+38
-5
No files matched your search
@@ -1,4 +1,9 @@
|
||||
export default function add() {
|
||||
// Initialisation ...............
|
||||
// State ........................
|
||||
// Handlers .....................
|
||||
// View .........................
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text>activity 1 complete on week 1 yay!</Text>
|
||||
@@ -15,4 +20,3 @@ const styles = StyleSheet.create({
|
||||
justifyContent: "center",
|
||||
},
|
||||
});
|
||||
|
||||
@@ -5,7 +5,7 @@ import { createNativeStackNavigator } from "@react-navigation/native-stack";
|
||||
|
||||
const Stack = createNativeStackNavigator();
|
||||
|
||||
export const App = () => {
|
||||
export const ModuleListScreen = () => {
|
||||
return (
|
||||
<NavigationContainer>
|
||||
<Stack.Navigator initialRouteName="ModuleListScreen">
|
||||
@@ -17,6 +17,15 @@ export const App = () => {
|
||||
</Stack.Navigator>
|
||||
</NavigationContainer>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
export default App;
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: "#fff",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
},
|
||||
});
|
||||
|
||||
export default ModuleListScreen;
|
||||
Reference in new issue
Block a user