From b2ab52b0a9f6bd4c1866d650f35fece3576c1371 Mon Sep 17 00:00:00 2001 From: Merom Cohen Date: Thu, 26 Dec 2024 12:23:17 +0200 Subject: [PATCH] Support event in tipseen onClose props Signed-off-by: Merom Cohen --- packages/core/src/components/Tipseen/Tipseen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/Tipseen/Tipseen.tsx b/packages/core/src/components/Tipseen/Tipseen.tsx index 12d07058e0..2efd0be463 100644 --- a/packages/core/src/components/Tipseen/Tipseen.tsx +++ b/packages/core/src/components/Tipseen/Tipseen.tsx @@ -56,7 +56,7 @@ export interface TipseenProps extends VibeComponentProps { */ modifiers?: Array>; closeAriaLabel?: string; - onClose?: () => void; + onClose?: (event?: React.MouseEvent) => void; content: ElementContent; /** * Control the color of the Tipseen close button. Dark theme can be useful while presenting bright images under the tipseen image