interface FormActionsProps

Passed to FormActions by a form, with its submit button as child.

Properties

children: ReactNode
optional
onCancel: () => void

Adds a Cancel button, which calls it.

optional
cancelLabel: ReactNode

Replaces the "Cancel" label.

optional
disabled: boolean

Disables the Cancel button only, not the children.

Usage

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