dashboard-react
    Preparing search index...

    Interface ToastInput

    Input accepted when creating a toast.

    interface ToastInput {
        type: ToastType;
        message: string;
        persistent?: boolean;
        duration?: number;
    }
    Index

    Properties

    type: ToastType
    message: string
    persistent?: boolean

    If true, toast stays until manually dismissed.

    duration?: number

    Auto-dismiss duration in ms. Defaults: success/info 4000, error/warning 6000.