Skip to content

Commit

Permalink
pulling from main
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Hernandez committed Nov 21, 2023
1 parent 9c7281e commit 1eecbe7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/RecentSearchCard/RecentSearchCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ function RecentSearchCard({
<Pressable onPress={pressFunction}>
<View style={styles.card}>
<View style={styles.textContainer}>
<Icon name="search1" size={18} color="#A7A5A5" />
<Text>{value}</Text>
<Text>{numResults} Results</Text>
<Icon name="caretright" size={18} color="black" />
<Icon name="search1" size={16} color="#A7A5A5" />
<Text style={styles.searchValueText}>{value}</Text>
<Text style={styles.numResultsText}>{numResults} Results</Text>
<Icon name="caretright" size={12} color="black" />
</View>
</View>
</Pressable>
Expand Down
14 changes: 14 additions & 0 deletions src/components/RecentSearchCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,25 @@ const styles = StyleSheet.create({
maxHeight: 100,
paddingLeft: 12,
paddingRight: 12,
paddingBottom: 4,
paddingTop: 4,
},
textContainer: {
flexDirection: 'row',
justifyContent: 'space-between',
},
searchValueText: {
color: 'black',
fontWeight: '400',
fontSize: 14,
justifyContent: 'center',
},
numResultsText: {
color: '#A7A5A5',
fontWeight: '400',
fontSize: 10,
justifyContent: 'center',
},
});

export default styles;

0 comments on commit 1eecbe7

Please sign in to comment.