Usage
onConfirm. A resolved promise shows the done face; a rejected one shows the error face and calls onConfirmError.undoLabel and onUndo together to offer Undo. Undo returns to idle at once and calls onUndo.tone={ConfirmMorphTone.Destructive} uses the destructive status tokens for the trigger, Confirm, and the pill's edge. Use it for actions that cannot be reversed.AlertDialog.Button.