From 63bebaca99c3e7909c2cc6a93ae153bcccb67bbe Mon Sep 17 00:00:00 2001 From: Batuhan Tomo Date: Mon, 10 Jun 2024 09:08:18 +0300 Subject: [PATCH] Feat #6740: Add content prop to Menubar component --- components/lib/menubar/menubar.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/lib/menubar/menubar.d.ts b/components/lib/menubar/menubar.d.ts index cb26396741..7133a7fbd1 100644 --- a/components/lib/menubar/menubar.d.ts +++ b/components/lib/menubar/menubar.d.ts @@ -41,6 +41,10 @@ export interface MenubarPassThroughOptions { * Uses to pass attributes to the list item's DOM element. */ menuitem?: MenubarPassThroughType>; + /** + * Uses to pass attributes to the content's DOM element. + */ + content?: MenubarPassThroughType>; /** * Uses to pass attributes to the action's DOM element. */ @@ -139,16 +143,19 @@ export interface MenubarProps extends Omit { * @return {HTMLDivElement} Container element */ public getElement(): HTMLDivElement; + /** * Used to get root menu element. * @return {HTMLElement} Root menu element */ public getRootMenu(): HTMLElement; + /** * Used to get menu button element. * @return {HTMLElement} Menu button element