import type { HostComponent } from "react-native"; import { requireNativeComponent } from "react-native"; import type { SelectInternalPickerProps, SelectOnOptionPressEvent, } from "../../types"; interface NativeSelectIOSPickerProps extends Pick { /** * Callback when one of the option is pressed */ readonly onOptionPress: (event: SelectOnOptionPressEvent) => void; } export const SelectIOSPicker: HostComponent = requireNativeComponent?.("RCTATLPicker");