toasty-reactx
Version:
A lightweight, customizable toast notification system for React applications.
6 lines (5 loc) • 471 B
TypeScript
import { Toast } from "../types";
import { ToastState } from "./toastInterface";
export declare const addToast: import("@reduxjs/toolkit").ActionCreatorWithPayload<Toast, "toast/addToast">, removeToast: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "toast/removeToast">, dismissAllToasts: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"toast/dismissAllToasts">;
declare const _default: import("redux").Reducer<ToastState>;
export default _default;