-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforgotpassrd.js
66 lines (60 loc) · 1.72 KB
/
forgotpassrd.js
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
55
56
57
58
59
60
61
62
63
64
65
66
import { View, Text, TextInput, TouchableOpacity, StyleSheet } from 'react-native'
import React from 'react'
import { theme } from '../../constants/theme'
import { wp, hp } from '../../helpers/common'; // Adjust the path based on your project structure
import { useRouter } from 'expo-router';//hada drori bax nlieniw wentre les pages
const forgotpassrd = () => {
return (
<View style = {styles.container}>
<Text style = {styles.title}>Forgot password</Text>
<Text style = {styles.subtitle}>Enter your mail address below and we will send you an email to Change your password correctly.</Text>
<View>
<TextInput placeholder ='Enter your email' style={styles.textinput}/>
</View>
<TouchableOpacity>
<View style={styles.button}>
<Text style={styles.btntext}>Send</Text>
</View>
</TouchableOpacity>
</View>
)
}
export default forgotpassrd
const styles = StyleSheet.create({
container: {
flex:1,
paddingHorizontal:20,
paddingTop:20,
},
title: {
fontSize: hp(4),
fontWeight: 'bold',
color: theme.colors.black,
marginVertical:20,
},
subtitle: {
fontWeight:'500',
color: theme.colors.black,
},
textinput: {
borderBottomColor: theme.colors.black,
borderBottomWidth:1,
fontSize: theme.radius.xl,
paddingVertical: 10,
marginVertical:30,
color: theme.colors.black,
},
button:{
backgroundColor: theme.colors.blue,
padding:15,
marginHorizontal:50,
borderRadius:10,
marginVertical: 0,
justifyContent: 'center',
alignItems: 'center'
},
btntext:{
color: theme.colors.white,
fontSize: hp(2.5),
},
})