mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4608 - Tree: Invalid typing of the default slot
This commit is contained in:
parent
df4b10b880
commit
bd09b6f8d8
1 changed files with 6 additions and 1 deletions
7
components/lib/tree/Tree.d.ts
vendored
7
components/lib/tree/Tree.d.ts
vendored
|
@ -350,7 +350,12 @@ export interface TreeSlots {
|
|||
/**
|
||||
* Default content slot.
|
||||
*/
|
||||
default(): VNode[];
|
||||
default(scope: {
|
||||
/**
|
||||
* Tree node instance
|
||||
*/
|
||||
node: TreeNode;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom loading icon template.
|
||||
* @param {Object} scope - loadingicon slot's params.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue