Table of contents
interface TLUiToastsContextType {}

Properties

addToast

addToast: (
  toast: Omit<TLUiToast, 'id'> & {
    id?: string
  }
) => string

clearToasts

clearToasts: () => void

removeToast

removeToast: (id: TLUiToast['id']) => string

toasts

toasts: TLUiToast[]

TLUiToastActionTLUiToolItem