Skip to main content

NotificationToastMessage

type NotificationToastMessage = object;

Properties

PropertyTypeDescription
colorScheme?ColorScheme-
enhanceStart?React.ReactNode-
isClickable?boolean-
isDanger?boolean-
isInterrupt?booleanA 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.
messageReactNode-
onDismiss?() => void-
position?ToastPosition-
testid?string-
timeout?number-