From d39f880d1d866a81a84b5b1dd70e00f6001a3572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20N=C3=B8rskov?= Date: Mon, 1 Apr 2024 19:49:16 +0200 Subject: [PATCH] fix(types): missing type definition for 'donePressed' parameter in 'onClose' callback (#545) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 33983db..1760dbc 100644 --- a/index.d.ts +++ b/index.d.ts @@ -82,7 +82,7 @@ export interface PickerSelectProps { onDonePress?: () => void; onUpArrow?: () => void; onDownArrow?: () => void; - onClose?: () => void; + onClose?: (donePressed: boolean) => void; modalProps?: CustomModalProps; textInputProps?: CustomTextInputProps; pickerProps?: CustomPickerProps;