property FormActionsProps.onCancel

Adds a Cancel button, which calls it.

Type

() => void

Usage

import { type FormActionsProps } from "src/components/form/FormActions.tsx";