ToastOptions
ToastOptions =
object
Defined in: packages/ui/src/types.ts:880
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:888
Optional secondary description text.
duration?
Section titled “duration?”
optionalduration:number
Defined in: packages/ui/src/types.ts:886
Auto-dismiss duration in milliseconds.
message
Section titled “message”message:
string
Defined in: packages/ui/src/types.ts:882
Primary message text.
optionaltype:ToastType
Defined in: packages/ui/src/types.ts:884
Notification type determining the visual style.