property CommentFormProps.onCancel

Without it, the form has no Cancel button.

Type

() => void

Usage

import { type CommentFormProps } from "src/components/comment/CommentForm.tsx";