property ConfirmModalProps.onCancel

Called on Cancel, Escape or a click on the backdrop.

Type

() => void

Usage

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