interface TitleFieldProps

Passed to TitleField by DumpCreateModal, which owns the editing state: it marks the title as the poster's own on onEdit.

Properties

registration: UseFormRegisterReturn<"title">
editing: boolean
onEdit: () => void
optional
onReset: () => void

Puts the suggested title back. Without it, no reset button shows.

disabled: boolean

Usage

import { type TitleFieldProps } from "src/components/dump/create/TitleField.tsx";