brows3r — TypeScript API
    Preparing search index...

    Interface ToastNotification

    A notification payload dispatched to the toast bus.

    Mirrors the fields needed by Toaster without importing the full Zustand store in this lower-level module.

    interface ToastNotification {
        action?: { label: string; onClick: () => void };
        id: string;
        message: string;
        severity: "info" | "warning" | "error" | "success";
        title: string;
    }
    Index

    Properties

    action?: { label: string; onClick: () => void }

    Optional clickable action on the toast (e.g. "Open folder" after a download completes). The toast container renders this as a button and dismisses the toast when the callback runs.

    id: string
    message: string
    severity: "info" | "warning" | "error" | "success"
    title: string