Refactor #4196 - For PanelMenu

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-24 13:48:47 +03:00
parent 501b26039c
commit 10fd09df83
3 changed files with 28 additions and 22 deletions

View file

@ -134,6 +134,10 @@ export interface PanelMenuState {
* Defines current options in PanelMenu component.
*/
export interface PanelMenuContext {
/**
* Index of the menuitem.
*/
index: number;
/**
* Current active state of menuitem as a boolean.
* @defaultValue false