Refactor #4190 - For MegaMenu

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-25 12:11:12 +03:00
parent 6d2f17501e
commit b89643cef1
2 changed files with 21 additions and 11 deletions

View file

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