BaseToast
Defined in: types/toast/toast.types.ts:41
Base configuration for a toast notification. This interface defines common properties that can be used to display temporary messages or alerts in the UI.
Example
ts
const toast: BaseToast = {
ttl: 5000, // Display for 5 seconds
isSticky: false, // Automatically dismiss
status: STATUS_TYPES.SUCCESS // Toast type/status
};Since
1.2.1
Author
Simon Kovtyk
Extended by
Properties
| Property | Type | Defined in |
|---|---|---|
isSticky? | boolean | types/toast/toast.types.ts:43 |
status? | StatusType | types/toast/toast.types.ts:44 |
ttl? | number | types/toast/toast.types.ts:42 |