TLUiToastsContextType
Public typealias
Signature
type TLUiToastsContextType = {
  addToast: (
    toast: Omit<TLUiToast, 'id'> & {
      id?: string
    }
  ) => string
  clearToasts: () => void
  removeToast: (id: TLUiToast['id']) => string
  toasts: TLUiToast[]
}
References
Source

