Renders the dialog that confirms a deletion, on the pages and in the dialogs that delete something.

Functions

f
ConfirmModal(unnamed 0: ConfirmModalProps): React.ReactPortal

Renders the dialog in a portal over the page, and locks the page's scroll. Escape closes only the confirmation, even over a Modal.

Interfaces

I
ConfirmModalProps

Passed to ConfirmModal by the component that shows it. The caller decides when it shows and hides it, on either callback.