Confirm destructive actions and let users verify steps they are taking.
useDisclosure
that provides the state necessary to manage the visibility of the dialog. The ConfirmDialog
component is a pre-styled dialog that can be fed custom UI to ask for feedback or form input.