import React, { useState } from "react"; import { // Need to use iOS style button Button, Modal, TouchableOpacity, View, } from "react-native"; import { Picker } from "@react-native-picker/picker"; import { SafeAreaView } from "react-native-safe-area-context"; import { styles } from "./SelectDefaultPicker.style"; import type { SelectInternalPickerProps } from "../../types"; import { SelectPressable } from "../SelectPressable/SelectPressable"; import { useAtlantisI18n } from "../../../hooks/useAtlantisI18n"; type SelectDefaultPickerProps = SelectInternalPickerProps; export function SelectDefaultPicker({ children, options, onChange, }: SelectDefaultPickerProps) { const [show, setShow] = useState(false); const { t } = useAtlantisI18n(); const selectedLanguage = options.find(option => option.isActive); return ( <> {children}