Skip to content

Commit

Permalink
Close Feature added
Browse files Browse the repository at this point in the history
  • Loading branch information
Danish Amin committed Oct 9, 2022
1 parent a6cba61 commit 9c8b5d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const SelectList: React.FC<SelectListProps> = ({
(dropdown && search)
?
<View style={[styles.wrapper,boxStyles]}>
<View style={{flexDirection:'row',alignItems:'center'}}>
<View style={{flexDirection:'row',alignItems:'center',flex:1}}>
{
(!searchicon)
?
Expand All @@ -197,13 +197,13 @@ const SelectList: React.FC<SelectListProps> = ({
});
setFilteredData(result)
}}
style={[{padding:0,height:20,width:'87%'},inputStyles]}
style={[{padding:0,height:20,flex:1},inputStyles]}
/>
<TouchableOpacity onPress={() => slideup()} >
<Image
source={require('./assets/images/close.png')}
resizeMode='contain'
style={{width:15,height:15,marginRight:7}}
style={{width:15,height:15,paddingLeft:7}}
/>
</TouchableOpacity>

Expand Down

0 comments on commit 9c8b5d6

Please sign in to comment.