File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ const Picker = React.forwardRef((props: PickerProps, ref) => {
248
248
) ;
249
249
} else if ( fieldType === PickerFieldTypes . settings ) {
250
250
return (
251
- < View row spread >
251
+ < View flex row spread >
252
252
< Text text70 style = { labelStyle } >
253
253
{ others . label }
254
254
</ Text >
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ const TextField = (props: InternalTextFieldProps) => {
130
130
< View style = { [ paddings , fieldStyle ] } row centerV centerH = { centered } >
131
131
{ /* <View row centerV> */ }
132
132
{ leadingAccessoryClone }
133
- < View flex = { ! centered } flexG = { centered } /* flex row */ >
133
+ { children || < View flex = { ! centered } flexG = { centered } /* flex row */ >
134
134
{ floatingPlaceholder && (
135
135
< FloatingPlaceholder
136
136
placeholder = { placeholder }
@@ -142,19 +142,17 @@ const TextField = (props: InternalTextFieldProps) => {
142
142
testID = { `${ props . testID } .floatingPlaceholder` }
143
143
/>
144
144
) }
145
- { children || (
146
- < Input
147
- placeholderTextColor = { hidePlaceholder ? 'transparent' : placeholderTextColor }
148
- { ...others }
149
- style = { [ typographyStyle , colorStyle , others . style ] }
150
- onFocus = { onFocus }
151
- onBlur = { onBlur }
152
- onChangeText = { onChangeText }
153
- placeholder = { placeholder }
154
- hint = { hint }
155
- />
156
- ) }
157
- </ View >
145
+ < Input
146
+ placeholderTextColor = { hidePlaceholder ? 'transparent' : placeholderTextColor }
147
+ { ...others }
148
+ style = { [ typographyStyle , colorStyle , others . style ] }
149
+ onFocus = { onFocus }
150
+ onBlur = { onBlur }
151
+ onChangeText = { onChangeText }
152
+ placeholder = { placeholder }
153
+ hint = { hint }
154
+ />
155
+ </ View > }
158
156
{ trailingAccessory }
159
157
{ /* </View> */ }
160
158
</ View >
You can’t perform that action at this time.
0 commit comments