@@ -180,7 +180,7 @@ export const EditField = (
180180 } & any ,
181181) : JSX . Element => {
182182 return (
183- < FlexBox . Column fullWidth >
183+ < FlexBox . Column fullWidth >
184184 < FlexBox alignItems = "center" fullWidth style = { { position : 'relative' } } >
185185 < InputWithLabel
186186 name = { props . name }
@@ -208,6 +208,7 @@ export const EditField = (
208208
209209export const SearchInputField = (
210210 props : {
211+ fromRegisterComponent : boolean ;
211212 label ?: string ;
212213 labelColor ?: any ;
213214 placeholder : any ;
@@ -216,16 +217,32 @@ export const SearchInputField = (
216217 } & any ,
217218) : JSX . Element => {
218219 return (
219- < FlexBox . Column fullWidth style = { { height : '100px' , marginTop : '-10px' } } >
220+ < FlexBox . Column
221+ fullWidth
222+ style = { {
223+ height : props . fromRegisterComponent ? '50px' : '100px' ,
224+ marginTop : '-10px' ,
225+ } }
226+ >
220227 < FlexBox alignItems = "center" fullWidth style = { { position : 'relative' } } >
221228 < LinkBox
222229 style = { { position : 'absolute' , left : '7px' , top : '35px' } }
223230 onClick = { ( ) => { } }
224231 >
225- < icons . search color = { iconColors . grey } />
232+ < icons . search
233+ style = { { position : 'relative' , top : '-27px' } }
234+ color = { iconColors . grey }
235+ />
226236 </ LinkBox >
227-
228- < InputWithLabel
237+ < TextInput
238+ type = "search"
239+ { ...props }
240+ style = { { paddingLeft : '40px' } }
241+ value = { props . value }
242+ onChangeText = { props . onChange }
243+ placeholder = { props . placeholder }
244+ />
245+ { /* <InputWithLabel
229246 name={props.name}
230247 label={props.label}
231248 labelColor={props.labelColor}
@@ -239,7 +256,7 @@ export const SearchInputField = (
239256 placeholder={props.placeholder}
240257 />
241258 }
242- />
259+ /> */ }
243260 </ FlexBox >
244261 </ FlexBox . Column >
245262 ) ;
0 commit comments