🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
1.74k
stars
499
forks
source link
Warning: Failed prop type: Invalid prop `items` of type `object` supplied to `RNPickerSelect`, expected an array. #425
Open
Mersall opened 3 years ago
`
<RNPickerSelect
Icon={() => }
placeholder={{
label: "education",
value: "",
}}
value={values.education}
onValueChange={handleChange("education")}
items={[
{ label: "single", value: "single" },
{ label: "married", value: "married" },
{ label: "widowed", value: "widowed" },
{ label: "divorced", value: "divorced" },
]}
/>
` how can solve this