import React from "react"; import RNPickerSelect from "react-native-picker-select"; import { useTailwind } from "tailwind-rn"; import { Icon } from "@rneui/themed"; export default function Picker({ value, items, onChange }) { const tailwind = useTailwind(); return ( ( )} doneText="完成" useNativeAndroidPickerStyle={false} fixAndroidTouchableBug={true} placeholder={{ label: "未填写", value: "" }} value={value} onValueChange={onChange} items={items} /> ); }