From 611b4423cbb79b9b16b8b8c72cac27009662fead Mon Sep 17 00:00:00 2001 From: Batuhan Tomo Date: Wed, 1 May 2024 10:58:35 +0300 Subject: [PATCH 1/2] Fix #6524: pt headerContent fix --- components/lib/panelmenu/panelmenu.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/lib/panelmenu/panelmenu.d.ts b/components/lib/panelmenu/panelmenu.d.ts index 0a3c173c66..a1b5da7401 100644 --- a/components/lib/panelmenu/panelmenu.d.ts +++ b/components/lib/panelmenu/panelmenu.d.ts @@ -48,6 +48,10 @@ export interface PanelMenuPassThroughOptions { * Uses to pass attributes to the header action's DOM element. */ headerAction?: PanelMenuPassThroughType>; + /** + * Uses to pass attributes to the header content's DOM element. + */ + headerContent?: PanelMenuPassThroughType>; /** * Uses to pass attributes to the submenuIcon's DOM element. */ @@ -182,21 +186,25 @@ export interface PanelMenuProps extends Omit Date: Wed, 1 May 2024 07:50:49 -0400 Subject: [PATCH 2/2] Update panelmenu.d.ts --- components/lib/panelmenu/panelmenu.d.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/lib/panelmenu/panelmenu.d.ts b/components/lib/panelmenu/panelmenu.d.ts index a1b5da7401..95470a7d34 100644 --- a/components/lib/panelmenu/panelmenu.d.ts +++ b/components/lib/panelmenu/panelmenu.d.ts @@ -186,25 +186,21 @@ export interface PanelMenuProps extends Omit