We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6761028 + 0d0857f commit 1140eafCopy full SHA for 1140eaf
index.d.ts
@@ -126,7 +126,7 @@ declare module 'react-native-dropdown-picker' {
126
listItemLabelStyle: StyleProp<TextStyle>;
127
listParentContainerStyle: StyleProp<ViewStyle>;
128
listParentLabelStyle: StyleProp<TextStyle>;
129
- onPress: (value: T) => void;
+ onPress: (item: ItemType<T>, custom?: boolean) => void;
130
parent: T;
131
props: ViewProps;
132
rtl: boolean;
0 commit comments