import { Button, Host } from "@expo/ui/swift-ui"; import { Platform, TouchableOpacity, View } from "react-native"; import { Tag } from "@/components/GenreTags"; type SearchType = "Library" | "Discover"; interface SearchTabButtonsProps { searchType: SearchType; setSearchType: (type: SearchType) => void; t: (key: string) => string; } export const SearchTabButtons: React.FC = ({ searchType, setSearchType, t, }) => { if (Platform.OS === "ios") { return ( <> ); } // Android UI return ( setSearchType("Library")}> setSearchType("Discover")}> ); };