ToastOptions
ToastOptions =
object
Defined in: packages/ui/src/types.ts:1004
Options for displaying a toast notification.
Passed to ToastApi.show for full control over the notification. The
convenience methods (success, error, info, warning) set the type
automatically.
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription:string
Defined in: packages/ui/src/types.ts:1012
Optional secondary description text.
duration?
Section titled “duration?”
optionalduration:number
Defined in: packages/ui/src/types.ts:1010
Auto-dismiss duration in milliseconds.
message
Section titled “message”message:
string
Defined in: packages/ui/src/types.ts:1006
Primary message text.
optionaltype:ToastType
Defined in: packages/ui/src/types.ts:1008
Notification type determining the visual style.