We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// Importando os módulos necessários import React from 'react'; import { View, Text, Button } from 'react-native';
// Componente da página inicial function HomeScreen({ navigation }) { return ( <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}> Bem-vindo ao EduConnect! <Button title="Ir para a página de aulas" onPress={() => navigation.navigate('Aulas')} /> ); }
// Componente da página de aulas function AulasScreen() { return ( <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}> Aulas ); }
// Configuração do navegador const Stack = createStackNavigator();
function App() { return ( <Stack.Navigator initialRouteName="Home"> <Stack.Screen name="Home" component={HomeScreen} options={{ title: 'Início' }} /> <Stack.Screen name="Aulas" component={AulasScreen} /> </Stack.Navigator> ); }
export default App;
The text was updated successfully, but these errors were encountered:
Bora trabalhar pessoal. Kkk
Sorry, something went wrong.
No branches or pull requests
// Importando os módulos necessários
import React from 'react';
import { View, Text, Button } from 'react-native';
// Componente da página inicial
function HomeScreen({ navigation }) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
Bem-vindo ao EduConnect!
<Button
title="Ir para a página de aulas"
onPress={() => navigation.navigate('Aulas')}
/>
);
}
// Componente da página de aulas
function AulasScreen() {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
Aulas
);
}
// Configuração do navegador
const Stack = createStackNavigator();
function App() {
return (
<Stack.Navigator initialRouteName="Home">
<Stack.Screen name="Home" component={HomeScreen} options={{ title: 'Início' }} />
<Stack.Screen name="Aulas" component={AulasScreen} />
</Stack.Navigator>
);
}
export default App;
The text was updated successfully, but these errors were encountered: