mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Refactor #5682 - For Dock, Menubar
This commit is contained in:
parent
5353635407
commit
89b4e1a76a
4 changed files with 49 additions and 11 deletions
15
components/lib/dock/Dock.d.ts
vendored
15
components/lib/dock/Dock.d.ts
vendored
|
@ -274,12 +274,23 @@ export interface DockSlots {
|
|||
props: DockRouterBindProps;
|
||||
}): VNode[];
|
||||
/**
|
||||
* @deprecated since v4.0. Use 'itemicon' slot.
|
||||
* Custom icon content.
|
||||
* @param {Object} scope - icon slot's params.
|
||||
* @param {Object} scope - item icon slot's params.
|
||||
*/
|
||||
icon(scope: {
|
||||
/**
|
||||
* Custom content for icon.
|
||||
* Custom content for item icon.
|
||||
*/
|
||||
item: MenuItem;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom icon content.
|
||||
* @param {Object} scope - item icon slot's params.
|
||||
*/
|
||||
itemicon(scope: {
|
||||
/**
|
||||
* Custom content for item icon.
|
||||
*/
|
||||
item: MenuItem;
|
||||
}): VNode[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue