blob: 94d00f2c2d214c00be471b0923cf551164f93880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
import {
Keyboard,
KeyboardAvoidingView,
Platform,
Pressable,
SafeAreaView,
Text,
TextInput,
TouchableWithoutFeedback,
View,
} from 'react-native';
import tw from 'twrnc';
import Logo from '../static/images/netflix-logo.svg';
const PasswordRecovery = ({navigation}) => {
return (
<SafeAreaView style={tw`bg-black flex-1`}>
<TouchableWithoutFeedback
onPress={() => {
Keyboard.dismiss();
}}
>
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
style={tw`flex-1`}
>
<View style={tw`py-6 px-8 flex items-center justify-center`}>
</View>
<View style={tw`flex-1 items-center justify-center px-12`}>
<Text style={tw`text-white text-2xl mb-12 self-start`}>Recuperar contraseña</Text>
<TextInput
style={tw`h-12 px-4 font-medium bg-white/20 rounded w-full text-white mb-8`}
placeholderTextColor={tw.color('text-white/20')}
placeholder={'Email'}
autoCorrect={false}
autoCapitalize={'none'}
keyboardType={'email-address'}
/>
<Pressable style={tw`mb-12`}>
<Text style={tw`text-white/40 text-xl`}>Recuperar contraseña</Text>
</Pressable>
<Pressable onPress={() => navigation.goBack()} style={tw`mb-16`}>
<Text style={tw`text-white`}>Volver</Text>
</Pressable>
</View>
</KeyboardAvoidingView>
</TouchableWithoutFeedback>
</SafeAreaView>
);
};
export default PasswordRecovery;
|