mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4379 - Menu components: RouterBindProps typing
This commit is contained in:
parent
e895b78e99
commit
411d62df2c
10 changed files with 206 additions and 10 deletions
20
components/lib/breadcrumb/Breadcrumb.d.ts
vendored
20
components/lib/breadcrumb/Breadcrumb.d.ts
vendored
|
@ -88,6 +88,24 @@ export interface BreadcrumbContext {
|
|||
index: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid router binding props in Breadcrumb component.
|
||||
*/
|
||||
export interface BreadcrumbRouterBindProps {
|
||||
/**
|
||||
* Action element binding
|
||||
*/
|
||||
action: object;
|
||||
/**
|
||||
* Icon element binding
|
||||
*/
|
||||
icon: object;
|
||||
/**
|
||||
* Label element binding
|
||||
*/
|
||||
label: object;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid properties in Breadcrumb component.
|
||||
*/
|
||||
|
@ -145,7 +163,7 @@ export interface BreadcrumbSlots {
|
|||
/**
|
||||
* Binding properties of the menuitem
|
||||
*/
|
||||
props: (...args: any) => string;
|
||||
props: BreadcrumbRouterBindProps;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom separator template.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue