AlertParams
AlertParams:
object
Type declaration
message?
optional
message:string
The message to display in the alert
messageHtml?
optional
messageHtml:string
The message to display in the alert as HTML (can be used instead of message)
timeout?
optional
timeout:number
|"unlimited"
The timeout of the alert in seconds or 'unlimited' to keep the alert open until the user closes it. Default is 10 seconds;
variant?
optional
variant:AlertVariant
| keyof typeofAlertVariant
The variant of the alert