TLUiDialogsContextType
Table of contents
Public interface
Signature
interface TLUiDialogsContextType {}
Source
packages/tldraw/src/lib/ui/context/dialogs.tsx
Properties
addDialog
Public propertysignature
Signature
addDialog: (
dialog: Omit<TLUiDialog, 'id'> & {
id?: string
}
) => string
References
clearDialogs
Public propertysignature
Signature
clearDialogs: () => void
dialogs
Public propertysignature
Signature
dialogs: TLUiDialog[]
References
removeDialog
Public propertysignature
Signature
removeDialog: (id: string) => string
updateDialog
Public propertysignature
Signature
updateDialog: (id: string, newDialogData: Partial<TLUiDialog>) => string
References