import React from 'react'; import { View, Text, TouchableOpacity, StyleSheet, TouchableOpacityProps, ScrollView, Keyboard, } from 'react-native'; import { PreviewType, ProfilePreviewType, ScreenType, CategoryPreviewType, } from '../../types'; import {TAGG_LIGHT_BLUE} from '../../constants'; import SearchResults from './SearchResults'; import {useBottomTabBarHeight} from '@react-navigation/bottom-tabs'; interface RecentSearchesProps extends TouchableOpacityProps { sectionTitle: PreviewType; recents: Array; recentCategories: CategoryPreviewType[]; screenType: ScreenType; } const RecentSearches: React.FC = (props) => { const {recents, recentCategories} = props; return ( <> Recent Clear all ); }; const styles = StyleSheet.create({ header: { paddingHorizontal: 25, paddingVertical: 5, flexDirection: 'row', }, title: { fontSize: 18, fontWeight: '600', flexGrow: 1, }, clear: { fontSize: 18, fontWeight: 'bold', color: TAGG_LIGHT_BLUE, }, }); export default RecentSearches;