Interface IDialogToastAction

A button in a toast (IDialogToastOptions.action), like "Report" or "Retry"

interface IDialogToastAction {
    label: string;
    onClick: () => void;
}

Properties

Properties

label: string
onClick: () => void

Called on a click of the button; the toast then closes