@@ -125,7 +125,7 @@ declare module 'react-native-dropdown-picker' {
125125 listItemLabelStyle : StyleProp < TextStyle > ;
126126 listParentContainerStyle : StyleProp < ViewStyle > ;
127127 listParentLabelStyle : StyleProp < TextStyle > ;
128- onPress : ( value : T ) => void ;
128+ onPress : ( item : ItemType < T > , custom ?: boolean ) => void ;
129129 parent : T ;
130130 props : ViewProps ;
131131 rtl : boolean ;
@@ -171,7 +171,7 @@ declare module 'react-native-dropdown-picker' {
171171 style : StyleProp < ViewStyle > ;
172172 } ) => JSX . Element ;
173173 arrowIconContainerStyle ?: StyleProp < ViewStyle > ;
174- arrowIconStyle ?: StyleProp < ViewStyle > ;
174+ arrowIconStyle ?: StyleProp < ViewStyle | ImageStyle > ;
175175 ArrowUpIconComponent ?: ( props : {
176176 style : StyleProp < ViewStyle > ;
177177 } ) => JSX . Element ;
@@ -197,6 +197,7 @@ declare module 'react-native-dropdown-picker' {
197197 customItemContainerStyle ?: StyleProp < ViewStyle > ;
198198 customItemLabelStyle ?: StyleProp < TextStyle > ;
199199 clearSearchFieldOnSelect ?: boolean ;
200+ customItemValueDelimiter ?: string ;
200201 disableBorderRadius ?: boolean ;
201202 disabledItemContainerStyle ?: StyleProp < ViewStyle > ;
202203 disabledItemLabelStyle ?: StyleProp < TextStyle > ;
@@ -272,7 +273,7 @@ declare module 'react-native-dropdown-picker' {
272273 theme ?: ThemeNameType ;
273274 TickIconComponent ?: ( props : { style : StyleProp < ViewStyle > } ) => JSX . Element ;
274275 tickIconContainerStyle ?: StyleProp < ViewStyle > ;
275- tickIconStyle ?: StyleProp < ViewStyle > ;
276+ tickIconStyle ?: StyleProp < ViewStyle | ImageStyle > ;
276277 translation ?: Partial < TranslationInterface > ;
277278 zIndexInverse ?: number ;
278279 zIndex ?: number ;
0 commit comments