import { Strings } from "@core/i18n"; import { findAssetId } from "@lib/api/assets"; import { TextInput } from "@metro/common/components"; import ErrorBoundary from "@ui/components/ErrorBoundary"; import { Image, View } from "react-native"; export interface SearchProps { onChangeText?: (v: string) => void; placeholder?: string; style?: import("react-native").TextStyle; } function SearchIcon() { return ; } export default ({ onChangeText, placeholder, style }: SearchProps) => { const [query, setQuery] = React.useState(""); const onChange = (value: string) => { setQuery(value); onChangeText?.(value); }; return ; };