TLUiDialogsContextType
Public typealias
Signature
type TLUiDialogsContextType = {
addDialog: (
dialog: Omit<TLUiDialog, 'id'> & {
id?: string
}
) => string
removeDialog: (id: string) => string
updateDialog: (id: string, newDialogData: Partial<TLUiDialog>) => string
clearDialogs: () => void
dialogs: TLUiDialog[]
}
References
Source