From e3e157a569fe358654a0ca5e3ec16ec58892dbf2 Mon Sep 17 00:00:00 2001 From: Cosmin-Madalin Date: Fri, 8 Nov 2024 11:22:12 +0100 Subject: [PATCH] fix: Wrong onHide signature --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index c03b792..17f0570 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -274,9 +274,9 @@ export interface DateTimePickerProps { /** * Called when the underlying modal finishes its' closing animation - * after Confirm was pressed. + * after Confirm or Cancel was pressed. */ - onHide?(date: Date): void; + onHide?(didPressConfirm: boolean, currentDate?: Date): void; /** * Used to locate this view in end-to-end tests.