From fafdb18f12fe8564b3098bd795bac9f19cb3b745 Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Wed, 11 May 2022 17:23:50 -0400 Subject: [PATCH] fix(Tabs): make close handler optional --- packages/react-core/src/components/Tabs/TabsContext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-core/src/components/Tabs/TabsContext.ts b/packages/react-core/src/components/Tabs/TabsContext.ts index 55673df02b8..5e0726da692 100644 --- a/packages/react-core/src/components/Tabs/TabsContext.ts +++ b/packages/react-core/src/components/Tabs/TabsContext.ts @@ -11,7 +11,7 @@ export interface TabsContextProps { eventKey: number | string, tabContentRef: React.RefObject ) => void; - handleTabClose: ( + handleTabClose?: ( event: React.MouseEvent, eventKey: number | string, tabContentRef?: React.RefObject