From 31721e0fed309527bfe8d4891fd49c31b2c7b388 Mon Sep 17 00:00:00 2001 From: Ekin Dursun Date: Sat, 17 May 2025 00:18:14 +0300 Subject: [PATCH] Correct InputAccessoryView's type InputAccessoryView takes a function returning a ReactNode, not a ReactNode. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index cac5c687..604f49a3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -90,7 +90,7 @@ export interface PickerSelectProps { touchableDoneProps?: CustomTouchableDoneProps; touchableWrapperProps?: CustomTouchableWrapperProps; Icon?: React.FC; - InputAccessoryView?: React.ReactNode; + InputAccessoryView?: () => React.ReactNode; darkTheme?: boolean; dropdownItemStyle?: StyleProp, activeItemStyle?: StyleProp,