// components/library/SearchBar.tsx import React from 'react'; import { View, TextInput, TouchableOpacity, StyleSheet } from 'react-native'; import { Feather } from '@expo/vector-icons'; import { useColorScheme } from '@/hooks/useColorScheme'; import { spacing } from '@/styles/sharedStyles'; interface SearchBarProps { value: string; onChangeText: (text: string) => void; onFilterPress: () => void; } export default function SearchBar({ value, onChangeText, onFilterPress }: SearchBarProps) { const { colors } = useColorScheme(); return ( ); } const styles = StyleSheet.create({ container: { flexDirection: 'row', gap: spacing.small, }, searchContainer: { flex: 1, flexDirection: 'row', alignItems: 'center', paddingHorizontal: spacing.medium, height: 44, borderRadius: 12, }, input: { flex: 1, marginLeft: spacing.small, fontSize: 16, }, filterButton: { width: 44, height: 44, borderRadius: 12, justifyContent: 'center', alignItems: 'center', }, });