function ConfirmModal
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.

Parameters

Return Type

React.ReactPortal

Usage

import { ConfirmModal } from "src/components/shared/ConfirmModal.tsx";