Refactor #3907 - options have changed as context

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-28 13:15:44 +03:00
parent 6005b67be7
commit 5aab120fe5
16 changed files with 75 additions and 24 deletions

View file

@ -19,7 +19,7 @@ export declare type TabMenuPassThroughOptionType = TabMenuPassThroughAttributes
export interface TabMenuPassThroughMethodOptions {
props: TabMenuProps;
state: TabMenuState;
options: TabMenuOptions;
context: TabMenuContext;
}
/**
@ -78,7 +78,7 @@ export interface TabMenuState {
/**
* Defines current options in TabMenu component.
*/
export interface TabMenuOptions {
export interface TabMenuContext {
/**
* Order of the menuitem
*/