n4kz / react-native-material-dropdown

Material dropdown with consistent behaviour on iOS and Android
Other
732 stars 597 forks source link

`useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false` #273

Open sravanpronteff opened 2 years ago

sravanpronteff commented 2 years ago

<Dropdown icon="arrow-down-drop-circle-outline" iconColor="#ffffff" label={durationLabel} data={duration} onChangeText={(e) => { setData(Object.assign(data, { duration: e })); if (e.url == "Instant") { handleInstant(); } else if (e == "Custom") { console.log("object", "month"); setDatePickerVisibility(true); } setDurationLabel(""); }} containerStyle={{ top: 5, width: wd * 0.9, }} pickerStyle={{ borderWidth: 2, borderColor: "#222222", backgroundColor: "#ffffff", }} />