mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent
f9f39cb8fc
commit
a86f8faa39
3 changed files with 81 additions and 34 deletions
18
components/lib/toast/Toast.d.ts
vendored
18
components/lib/toast/Toast.d.ts
vendored
|
@ -18,7 +18,7 @@ export interface ToastMessageOptions {
|
|||
* Severity level of the message.
|
||||
* @defaultValue info
|
||||
*/
|
||||
severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined;
|
||||
severity?: 'success' | 'info' | 'warn' | 'error' | undefined;
|
||||
/**
|
||||
* Summary content of the message.
|
||||
*/
|
||||
|
@ -98,9 +98,21 @@ export interface ToastProps {
|
|||
*/
|
||||
closeIcon?: string | undefined;
|
||||
/**
|
||||
* Icon to display in the toast.
|
||||
* Icon to display in the toast with info severity.
|
||||
*/
|
||||
icon?: string | undefined;
|
||||
infoIcon?: string | undefined;
|
||||
/**
|
||||
* Icon to display in the toast with warn severity.
|
||||
*/
|
||||
warnIcon?: string | undefined;
|
||||
/**
|
||||
* Icon to display in the toast with error severity.
|
||||
*/
|
||||
errorIcon?: string | undefined;
|
||||
/**
|
||||
* Icon to display in the toast with success severity.
|
||||
*/
|
||||
successIcon?: string | undefined;
|
||||
/**
|
||||
* Uses to pass all properties of the HTMLButtonElement to the close button.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue