@mocanvas/mocanvas · interface

TLUiDialog

interface TLUiDialog

One entry on the dialog stack.


Properties · 4

component: ComponentType<TLUiDialogProps>

Rendered inside the modal frame.

id: string
onClose?(): void

Called after the dialog is removed, however it was closed.

preventBackdropClose?: boolean

Let a click on the backdrop close it. Defaults to true.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.