import { Ionicons } from "@expo/vector-icons"; import { t } from "i18next"; import type React from "react"; import { TextInput, TouchableOpacity, View } from "react-native"; export const SettingsSearchBar: React.FC<{ value: string; onChange: (v: string) => void; }> = ({ value, onChange }) => ( {value.length > 0 ? ( onChange("")} hitSlop={8}> ) : null} );