IUseAlertSubmitCallbacks
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Lifecycle callbacks of useAlertSubmit(): the dialog’s own onCreateSuccess/onCreateError (create) and onUpdateSuccess/onUpdateError (edit).
export type IUseAlertSubmitCallbacks = Pick<IAlertingDialogProps, "onCreateSuccess" | "onCreateError" | "onUpdateSuccess" | "onUpdateError">;
References: IAlertingDialogProps