Refactor #4190 - For Breadcrumb

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-24 17:18:43 +03:00
parent 7f67f640e5
commit 62a83920b4
2 changed files with 33 additions and 8 deletions

View file

@ -20,6 +20,7 @@ export declare type BreadcrumbPassThroughOptionType = BreadcrumbPassThroughAttri
export interface BreadcrumbPassThroughMethodOptions {
instance: any;
props: BreadcrumbProps;
context: BreadcrumbContext;
}
/**
@ -73,6 +74,20 @@ export interface BreadcrumbPassThroughAttributes {
[key: string]: any;
}
/**
* Defines current options in Breadcrumb component.
*/
export interface BreadcrumbContext {
/**
* Current menuitem
*/
item: any;
/**
* Index of the menuitem
*/
index: number;
}
/**
* Defines valid properties in Breadcrumb component.
*/