IUseAlertingDialogActionBarPropsInput
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Inputs of useAlertingDialogActionBarProps() that come from the dialog rather than its state.
export interface IUseAlertingDialogActionBarPropsInput
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (BETA) Whether a save is in flight. | ||
() => void | (BETA) (Optional) Closes the dialog without saving. | ||
() => void | (BETA) (Optional) Opens the delete confirmation. Rendered only when an existing alert is being edited. | ||
() => void | (BETA) Submits the automation; the dialog’s single submit path (see useAlertSubmit()). |
Property details
IUseAlertingDialogActionBarPropsInput.isSavingpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Whether a save is in flight.
isSaving: boolean;
IUseAlertingDialogActionBarPropsInput.onCancelpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Closes the dialog without saving.
onCancel?: () => void;
IUseAlertingDialogActionBarPropsInput.onDeletepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Opens the delete confirmation. Rendered only when an existing alert is being edited.
onDelete?: () => void;
IUseAlertingDialogActionBarPropsInput.onSubmitpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Submits the automation; the dialog’s single submit path (see useAlertSubmit()).
onSubmit: () => void;