import { useState } from 'react'; import React from 'react'; import { Button, Pressable } from 'react-native'; import { StyleSheet, Text, View, Image, TextInput } from 'react-native'; import { SafeAreaView } from 'react-native-safe-area-context'; export default function Login(props: { navigation: any }) { const { navigation } = props; return ( Login navigation.navigate('Home')}> Login Don't have Account ? navigation.replace('SignUp')}> Register ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#C5C5C5', alignItems: 'center', justifyContent: 'center', }, maincard: { height: "40%", width: "80%", backgroundColor: "#fff", borderRadius: 15, padding: 20, elevation: 10, shadowColor: '#000', shadowOffset: { width: 0, height: 3 }, shadowOpacity: 0.5, shadowRadius: 5, justifyContent: 'space-between', alignItems: 'center', }, email: { height: "auto", width: 300, borderRadius: 10, backgroundColor: "#C8C8C8", padding: 10, elevation: 10, shadowColor: '#000', shadowOffset: { width: 0, height: 3 }, shadowOpacity: 0.5, shadowRadius: 5, justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row', }, button: { alignItems: 'center', justifyContent: 'center', paddingVertical: 12, paddingHorizontal: 32, borderRadius: 10, elevation: 3, backgroundColor: '#BF181D', }, text: { color: '#000', fontSize: 15, }, logo: { width: 30, height: 30, }, register: { color: '#ffa020', fontSize: 15, textDecorationLine: 'underline', } });