We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f92283d commit eb919cfCopy full SHA for eb919cf
index.d.ts
@@ -270,15 +270,15 @@ declare module 'react-native-dropdown-picker' {
270
multiple?: false;
271
onChangeValue?: (value: T | null) => void;
272
onSelectItem?: (item: ItemType<T>) => void;
273
- setValue: Dispatch<SetStateCallback<T | null>>;
+ setValue: Dispatch<SetStateCallback<T | null | any>>;
274
value: T | null;
275
}
276
277
interface DropDownPickerMultipleProps<T> {
278
multiple: true;
279
onChangeValue?: (value: T[] | null) => void;
280
onSelectItem?: (items: ItemType<T>[]) => void;
281
- setValue: Dispatch<SetStateCallback<T[] | null>>;
+ setValue: Dispatch<SetStateCallback<T[] | null | any>>;
282
value: T[] | null;
283
284
0 commit comments