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