@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Configuration for opening a toast.

    interface ToastConfig {
        actionFn?: () => void;
        actionLabel?: string;
        duration?: number;
        message: string;
        position?: ToastPosition;
        severity?: ToastSeverity;
        title?: string;
    }
    Index

    Properties

    actionFn?: () => void

    Callback invoked when the action button is clicked.

    actionLabel?: string

    Optional action button label.

    duration?: number

    Auto-dismiss duration in milliseconds. 0 = no auto-dismiss. Defaults to 4000.

    message: string

    The message text to display.

    position?: ToastPosition

    Screen position. Defaults to "top-right".

    severity?: ToastSeverity

    Severity level. Defaults to "info".

    title?: string

    Optional title shown above the message.