useDefaultHelpers
See source codefunction 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
useDefaultColorThemeNext
useDialogs