@@ -51,20 +51,25 @@ const ProfileView = () => {
51
51
</ Avatar >
52
52
53
53
< Center >
54
- < Text fontWeight = "bold" color = "black" fontSize = "$2xl" >
55
- { firstName }
56
- </ Text >
57
- < Text fontWeight = "bold" color = "black" fontSize = "$2xl" >
58
- { lastName }
54
+ < Text
55
+ fontWeight = "bold"
56
+ color = "black"
57
+ fontSize = "$xl"
58
+ numberOfLines = { 2 }
59
+ textAlign = "center"
60
+ >
61
+ { firstName } { lastName }
59
62
</ Text >
60
63
</ Center >
61
64
</ Center >
62
65
63
- < Center display = "flex" flexDirection = "column" gap = "$3" >
64
- < Box display = "flex" flexDirection = "row" gap = "$3" >
65
- < Text > First Name:</ Text >
66
+ < Center display = "flex" flexDirection = "column" gap = "$4" px = "$12" >
67
+ < Center display = "flex" flexDirection = "column" alignItems = "flex-start" >
68
+ < Text fontWeight = "bold" fontSize = "$xs" >
69
+ First Name
70
+ </ Text >
66
71
< Input
67
- w = { 200 }
72
+ w = "$full"
68
73
variant = "outline"
69
74
size = "sm"
70
75
isDisabled = { false }
@@ -78,11 +83,13 @@ const ProfileView = () => {
78
83
onChangeText = { ( text ) => setNewFirstName ( text ) }
79
84
/>
80
85
</ Input >
81
- </ Box >
82
- < Box display = "flex" flexDirection = "row" gap = "$3" >
83
- < Text > Last Name:</ Text >
86
+ </ Center >
87
+ < Center display = "flex" flexDirection = "column" alignItems = "flex-start" >
88
+ < Text fontWeight = "bold" fontSize = "$xs" >
89
+ Last Name
90
+ </ Text >
84
91
< Input
85
- w = { 200 }
92
+ w = "$full"
86
93
variant = "outline"
87
94
size = "sm"
88
95
isDisabled = { false }
@@ -96,11 +103,14 @@ const ProfileView = () => {
96
103
placeholder = { formattedLastName }
97
104
/>
98
105
</ Input >
99
- </ Box >
100
- < Box display = "flex" flexDirection = "row" gap = "$9" >
101
- < Text > Mobile:</ Text >
106
+ </ Center >
107
+ < Center display = "flex" flexDirection = "column" alignItems = "flex-start" >
108
+ < Text fontWeight = "bold" fontSize = "$xs" >
109
+ { ' ' }
110
+ Mobile
111
+ </ Text >
102
112
< Input
103
- w = { 200 }
113
+ w = "$full"
104
114
variant = "outline"
105
115
size = "sm"
106
116
isDisabled = { false }
@@ -109,12 +119,15 @@ const ProfileView = () => {
109
119
>
110
120
< InputField placeholder = { formattedmobile } />
111
121
</ Input >
112
- </ Box >
122
+ </ Center >
113
123
114
- < Box display = "flex" flexDirection = "row" gap = "$12" >
115
- < Text > Email:</ Text >
124
+ < Center display = "flex" flexDirection = "column" alignItems = "flex-start" >
125
+ < Text fontWeight = "bold" fontSize = "$xs" >
126
+ { ' ' }
127
+ Email
128
+ </ Text >
116
129
< Input
117
- w = { 200 }
130
+ w = "$full"
118
131
variant = "outline"
119
132
size = "sm"
120
133
isDisabled = { false }
@@ -123,11 +136,14 @@ const ProfileView = () => {
123
136
>
124
137
< InputField lineHeight = { 22 } />
125
138
</ Input >
126
- </ Box >
127
- < Box display = "flex" flexDirection = "row" gap = "$16" >
128
- < Text > City:</ Text >
139
+ </ Center >
140
+ < Center display = "flex" flexDirection = "column" alignItems = "flex-start" >
141
+ < Text fontWeight = "bold" fontSize = "$xs" >
142
+ { ' ' }
143
+ City
144
+ </ Text >
129
145
< Input
130
- w = { 200 }
146
+ w = "$full"
131
147
variant = "outline"
132
148
size = "sm"
133
149
isDisabled = { false }
@@ -136,7 +152,7 @@ const ProfileView = () => {
136
152
>
137
153
< InputField lineHeight = { 22 } />
138
154
</ Input >
139
- </ Box >
155
+ </ Center >
140
156
</ Center >
141
157
< TouchableOpacity >
142
158
< Button
0 commit comments