-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
129 lines (127 loc) · 2.81 KB
/
App.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
import React from 'react';
import {
View,
Text,
StyleSheet,
Dimensions,
Image,
TextInput,
TouchableOpacity,
} from 'react-native';
import Icon from 'react-native-vector-icons/AntDesign';
const Dev_Height = Dimensions.get('window').height;
const Dev_Width = Dimensions.get('window').width;
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<View style={styles.arrowView}>
<Icon
name="arrowleft"
size={30}
color="#324e7f"
style={styles.arrowstyle}
/>
</View>
<View style={styles.textview}>
<Text style={styles.textstyle}>Enter OTP</Text>
<Text style={styles.headername}>sent to 6382658391</Text>
</View>
<View style={styles.otpmainview}>
<View style={styles.otpbox}></View>
<View style={styles.otpbox}></View>
<View style={styles.otpbox}></View>
<View style={styles.otpbox}></View>
</View>
<View style={styles.confirmation}>
<Text style={styles.confirmationstyle}>
Resend OTP in <Text style={{...styles.confirmationstyle,color:"#91d18b"}}> 30 secs</Text>
</Text>
</View>
<View style={styles.buttonmainview}>
<TouchableOpacity style={styles.touchable}>
<Text style={styles.buttontouch}>Verify
</Text>
</TouchableOpacity>
</View>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
height: Dev_Height,
width: Dev_Width,
},
arrowView: {
height: '10%',
width: '100%',
justifyContent: 'center',
},
arrowstyle: {
marginLeft: '5%',
},
textview: {
height: '20%',
width: '100%',
},
textstyle: {
fontsize: 18,
fontWeight: '400',
lineHeight: 27,
color: '#324E7E',
marginLeft: '5%',
},
headername: {
fontSize: 22,
lineHeight: 33,
color: '#324E7E',
fontWeight: '700',
marginLeft: '5%',
},
otpmainview: {
height: '25%',
width: '100%',
flexDirection: 'row',
},
otpbox: {
height: '60%',
width: '20%',
marginLeft: '4%',
borderRadius: 10,
backgroundColor: '#f0f5f9',
},
confirmation: {
height: '10%',
width: '100%',
justifyContent: 'center',
},
confirmationstyle: {
marginLeft: '5%',
fontSize: 14,
fontWeight: '400',
lineHeight: 21,
color: '#324E7E',
},
buttonmainview:{
height:"15%",
width:"100%",
justifyContent:"center",
alignItems:"center",
marginTop:"27%"
},
touchable:{
height:"80%",
width:"90%",
borderRadius:10,
backgroundColor:"#324E7E",
justifyContent:"center",
alignItems:"center",
},
buttontouch:{
fontSize:16,
lineHeight:24,
fontWeight:"700",
color:"white"
}
});