useDefaultHelpers
Public Function
Parameters
None
Returns
{
addToast: (
toast: Omit<import('./hooks/useToastsProvider').TLUiToast, 'id'> & {
id?: string | undefined
}
) => string
removeToast: (id: string) => string
clearToasts: () => void
addDialog: (
dialog: Omit<import('./hooks/useDialogsProvider').TLUiDialog, 'id'> & {
id?: string | undefined
}
) => string
clearDialogs: () => void
removeDialog: (id: string) => string
updateDialog: (
id: string,
newDialogData: Partial<import('./hooks/useDialogsProvider').TLUiDialog>
) => string
msg: (id: import('..').TLUiTranslationKey) => string
isMobile: boolean
}