Represents a dialog configuration.
The Dialog interface defines the structure of a dialog configuration within the Creative Editor SDK. It includes properties for the type, size, content, progress, actions, cancel action, onClose callback, and whether clicking outside the dialog should close it. This interface provides a comprehensive way to define and manage dialogs, allowing for flexibility in how they are presented and interacted with by users.
Properties#
Property | Type |
---|---|
type? | DialogType |
size? | DialogSize |
content | DialogContent |
progress? | DialogProgress |
actions? | |
cancel? | DialogAction |
onClose? | () => void |
clickOutsideToClose? | boolean |