Refactor #3907 - TabMenu options added

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-28 10:23:20 +03:00
parent f7572320c4
commit 39bd79dc10
2 changed files with 26 additions and 8 deletions

View file

@ -19,6 +19,7 @@ export declare type TabMenuPassThroughOptionType = TabMenuPassThroughAttributes
export interface TabMenuPassThroughMethodOptions {
props: TabMenuProps;
state: TabMenuState;
options: TabMenuOptions;
}
/**
@ -74,6 +75,16 @@ export interface TabMenuState {
d_activeIndex: number;
}
/**
* Defines current options in TabMenu component.
*/
export interface TabMenuOptions {
/**
* Order of the menuitem
*/
order: number;
}
/**
* Custom change event.
* @see {@link TabMenuEmits['tab-change']}