Interface ToastNotificationOptions

Hierarchy

  • ToastNotificationOptions

Index

Properties

Optional action

action: ToastAction

Optional fullWidth

fullWidth: boolean

If true, the notification will display across the full width of its container. Defaults to false

Optional header

header: string

Optional header to appear above the text

Optional position

position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center"

Defaults to top-right

style

style: ToastStyle

Sets the color theme and icon to be shown

text

text: string

Optional timeout

timeout: number

Number of seconds before the notification will begin disappearing. Defaults to 5 seconds. Set to 0 to disable automatic timeout.

Generated using TypeDoc