Rezi
    Preparing search index...

    Function removeToast

    • Remove a toast by ID.

      Parameters

      • toasts: readonly Readonly<
            {
                action?: Readonly<{ label: string; onAction: () => void }>;
                duration?: number;
                id: string;
                message: string;
                progress?: number;
                type: "error" | "success" | "warning" | "info";
            },
        >[]

        Existing toasts

      • id: string

        Toast ID to remove

      Returns readonly Readonly<
          {
              action?: Readonly<{ label: string; onAction: () => void }>;
              duration?: number;
              id: string;
              message: string;
              progress?: number;
              type: "error" | "success" | "warning" | "info";
          },
      >[]

      Updated toast list