DialogsContextType
Public TypeAlias
Signature
type DialogsContextType = {
addDialog: (
dialog: Omit<TLDialog, 'id'> & {
id?: string
}
) => string
removeDialog: (id: string) => string
updateDialog: (id: string, newDialogData: Partial<TLDialog>) => string
clearDialogs: () => void
dialogs: TLDialog[]
}