@vicinae/api
    Preparing search index...

    Interface ToastActionOptions

    Use Toast.ActionOptions instead

    interface ToastActionOptions {
        onAction: (toast: Toast) => void;
        shortcut?: Keyboard.Shortcut;
        title: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    onAction: (toast: Toast) => void

    A callback called when the action is triggered.

    shortcut?: Keyboard.Shortcut

    The keyboard shortcut for the action.

    title: string

    The title of the action.