interface DeleteButtonProps

Passed to DeleteButton by an edit form.

Properties

label: string

Its accessible name, which names what goes, such as "Delete dump".

onClick: () => void

Opens the page's confirmation, which deletes.

Usage

import { type DeleteButtonProps } from "src/components/form/DeleteButton.tsx";