useDefaultHelpers

See source code
function useDefaultHelpers(): {
  addDialog: (
    dialog: Omit<import('./context/dialogs').TLUiDialog, 'id'> & {
      id?: string | undefined
    }
  ) => string
  addToast: (
    toast: Omit<import('./context/toasts').TLUiToast, 'id'> & {
      id?: string | undefined
    }
  ) => string
  clearDialogs: () => void
  clearToasts: () => void
  isMobile: boolean
  msg: (id?: string | undefined) => string
  removeDialog: (id: string) => string
  removeToast: (id: string) => string
}
Prev
useDefaultColorTheme
Next
useDialogs