Renders the destructive action of an edit form's bar, in DumpEdit and PlaylistEditForm.
DumpEdit
PlaylistEditForm
Renders a compact "Delete" button, at the start of the bar's .form-actions. A bar too narrow for it beside Cancel and Save shows its icon instead (.form-delete-icon).
.form-actions
.form-delete-icon
Passed to DeleteButton by an edit form.
Its accessible name, which names what goes, such as "Delete dump".
Opens the page's confirmation, which deletes.
import * as mod from "src/components/form/DeleteButton.tsx";