mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #4302 - Toast: Icon classes not being correctly exposed
This commit is contained in:
parent
c54a39c83e
commit
bf1eb271f3
1 changed files with 14 additions and 2 deletions
16
components/lib/toast/Toast.d.ts
vendored
16
components/lib/toast/Toast.d.ts
vendored
|
@ -252,12 +252,24 @@ export interface ToastSlots {
|
||||||
}): VNode[];
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom icon template.
|
* Custom icon template.
|
||||||
|
* @param {Object} scope - icon slot's params.
|
||||||
*/
|
*/
|
||||||
icon(): VNode[];
|
icon(scope: {
|
||||||
|
/**
|
||||||
|
* Style class of the icon
|
||||||
|
*/
|
||||||
|
class: any;
|
||||||
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom close icon template.
|
* Custom close icon template.
|
||||||
|
* @param {Object} scope - close icon slot's params.
|
||||||
*/
|
*/
|
||||||
closeicon(): VNode[];
|
closeicon(scope: {
|
||||||
|
/**
|
||||||
|
* Style class of the close icon
|
||||||
|
*/
|
||||||
|
class: any;
|
||||||
|
}): VNode[];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue