diff --git a/index.d.ts b/index.d.ts index 0e0dd54..d4c6c45 100644 --- a/index.d.ts +++ b/index.d.ts @@ -125,7 +125,7 @@ declare module 'react-native-dropdown-picker' { listItemLabelStyle: StyleProp; listParentContainerStyle: StyleProp; listParentLabelStyle: StyleProp; - onPress: (value: T) => void; + onPress: (item: ItemType, custom?: boolean) => void; parent: T; props: ViewProps; rtl: boolean;