From 0d9ba76044aee7f4ad8712bbc0b99b0230ebf39f Mon Sep 17 00:00:00 2001 From: Murat <7101489+murat-mehmet@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:20:38 +0300 Subject: [PATCH 1/2] fix(typing): add ImageStyle to arrowIconStyle type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 0e0dd540a..c96c6e686 100644 --- a/index.d.ts +++ b/index.d.ts @@ -171,7 +171,7 @@ declare module 'react-native-dropdown-picker' { style: StyleProp; }) => JSX.Element; arrowIconContainerStyle?: StyleProp; - arrowIconStyle?: StyleProp; + arrowIconStyle?: StyleProp; ArrowUpIconComponent?: (props: { style: StyleProp; }) => JSX.Element; From 0f0e8fd0cfce45be527e356258d38c0530f21db7 Mon Sep 17 00:00:00 2001 From: Murat <7101489+murat-mehmet@users.noreply.github.com> Date: Sat, 27 Jan 2024 01:06:33 +0200 Subject: [PATCH 2/2] fix(typing): add ImageStyle to tickIconStyle type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c96c6e686..9bdf30d58 100644 --- a/index.d.ts +++ b/index.d.ts @@ -271,7 +271,7 @@ declare module 'react-native-dropdown-picker' { theme?: ThemeNameType; TickIconComponent?: (props: { style: StyleProp }) => JSX.Element; tickIconContainerStyle?: StyleProp; - tickIconStyle?: StyleProp; + tickIconStyle?: StyleProp; translation?: Partial; zIndexInverse?: number; zIndex?: number;