import React from 'react';
import { View, Text } from 'react-native';
function StudentDashboardScreen({ route }) {
const { email, password } = route.params;
return (
<View>
<Text>Welcome, {email}</Text>
<Text>Your password: {password}</Text>
</View>
);
}
export default StudentDashboardScreen;