Search
Loading...
Skip to content

Type Alias: DialogAction

type DialogAction = object;

Represents an action in the dialog.

The DialogAction type defines the structure of an action that can be performed within a dialog. It includes properties for the variant, color, label, and a callback function to handle the action when clicked, providing flexibility in how user interactions are managed.

Properties#

PropertyType
variant?"regular"
color?"accent"
labelstring
onClick(context) => void