AlertDialog
Blocking confirm dialog with cancel and confirm actions.
Playground
<AlertDialog
isOpen={open}
onOpenChange={setOpen}
title="Delete this note?"
variant="destructive"
confirmLabel="Delete"
onConfirm={remove}
/><AlertDialog
isOpen={open}
onOpenChange={setOpen}
title="Delete this note?"
variant="destructive"
confirmLabel="Delete"
onConfirm={remove}
/>