Skip to content

SiToast Type documentation

Properties
action?: Link
close?: () => void
closeAriaLabel?: TranslatableString
disableAutoClose?: boolean
disableManualClose?: boolean
hidden?: Subject<void>
message: TranslatableString
state: ToastStateName
timeout?: number
title: TranslatableString
translationParams?: { [ key: string ]: any } }

Types Documentation

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Translatable
import
("success" | "info" | "warning" | "danger" | "caution" | "critical")

Except where otherwise noted, content on this site is licensed under MIT License.