TLUiToastsContextType

See source code
Table of contents
interface TLUiToastsContextType {}

Properties

toasts

toasts: Atom<TLUiToast[]>;

Methods

addToast

Parameters

NameDescription

toast

Omit<TLUiToast, "id"> & {
  id?: string;
};

Returns

string;

clearToasts


removeToast

Parameters

NameDescription

id

TLUiToast["id"];

Returns

string;

Prev
TLUiToastAction
Next
TLUiToastsProviderProps