Public typealias

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

TLUiDialog

Source

packages/tldraw/src/lib/ui/context/dialogs.tsx

TLUiDialogPropsTLUiDialogTitleProps