Skip to content
Snippets Groups Projects
Commit a14c094d authored by isaacwsolomon's avatar isaacwsolomon
Browse files

Edited app.tsx to show MyTodos in header of app

parent 9afcbc36
No related branches found
No related tags found
No related merge requests found
import { StatusBar } from 'expo-status-bar'; import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native'; import { StyleSheet, Text, View } from 'react-native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { NavigationContainer } from '@react-navigation/native';
import List from './app/screens/list';
const Stack = createNativeStackNavigator();
export default function App() { export default function App() {
return ( return (
<View style={styles.container}> <NavigationContainer>
<Text>Open up App.tsx to start working on your app!</Text> <Stack.Navigator>
<StatusBar style="auto" /> <Stack.Screen name="My Todos" component={List}/>
</View> </Stack.Navigator>
</NavigationContainer>
); );
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment