Refactor #4190 - For Menubar

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-25 12:11:30 +03:00
parent fd326c4d8d
commit 06acfdf264
2 changed files with 20 additions and 10 deletions

View file

@ -151,6 +151,14 @@ export interface MenubarState {
* Defines current options in Menubar component.
*/
export interface MenubarContext {
/**
* Current menuitem
*/
item: any;
/**
* Current index of the menuitem.
*/
index: number;
/**
* Current active state of menuitem as a boolean.
* @defaultValue false