Type Alias: EditorCloseReason
ts
type EditorCloseReason = "Confirmed" | "Cancelled" | "Error";Why the editor closed — the first argument of the onClose callback in DesignerOptions.
See Events and callbacks.