IUseAlertingDialogHeaderPropsInput
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Inputs of useAlertingDialogHeaderProps() that come from the dialog rather than its state.
export interface IUseAlertingDialogHeaderPropsInput
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
() => void | (BETA) (Optional) Closes the dialog; the header’s back/close button calls it. | ||
Ref<HTMLInputElement> | (BETA) (Optional) The dialog’s initial-focus ref, attached to the title input. |
Property details
IUseAlertingDialogHeaderPropsInput.onCancelpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Closes the dialog; the header’s back/close button calls it.
onCancel?: () => void;
IUseAlertingDialogHeaderPropsInput.refpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The dialog’s initial-focus ref, attached to the title input.
ref?: Ref<HTMLInputElement>;