NotificationToastMessage
type NotificationToastMessage = object;
Properties
| Property | Type | Description |
|---|---|---|
colorScheme? | ColorScheme | - |
enhanceStart? | React.ReactNode | - |
isClickable? | boolean | - |
isDanger? | boolean | - |
isInterrupt? | boolean | A toast that can interrupt will jump the queue and remove the currently rendering toast and be rendered instead of it. Currently rendering toasts that have a timeout of 0 cannot be interrupted, the toast that tries to interrupt it is discarded and not queued. An example when this can be useful: if many toasts are sent rapidly in response to UI state changes; User mutes, unmute & mutes again and toasts are displayed to reflect these states, the toasts will display without a long timeout between each. |
message | ReactNode | - |
onDismiss? | () => void | - |
position? | ToastPosition | - |
testid? | string | - |
timeout? | number | - |