Variable toastConst

toast: {
    error: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>;
    info: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>;
    message: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>;
    success: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>;
    warning: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>;
} = ...

Type declaration

  • error: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>
  • info: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>
  • message: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>
  • success: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>
  • warning: (
        message: string,
        options?: GeneralToastParams,
        action?: () => void,
    ) => Promise<void>