Preparing search index...

    Props for a single editable preparation step row.

    interface EditableStepProps {
        index: number;
        title: string;
        description: string;
        onTitleChange: (title: string) => void;
        onDescriptionChange: (description: string) => void;
        onTitleCommit: (title: string) => void;
        onDescriptionCommit: (description: string) => void;
        onRemove: () => void;
        onMoveUp?: () => void;
        onMoveDown?: () => void;
        descriptionError?: string;
    }
    Index
    index: number
    title: string
    description: string
    onTitleChange: (title: string) => void

    Live per-keystroke title write (value only, does not mark the row touched).

    onDescriptionChange: (description: string) => void

    Live per-keystroke description write (value only, does not mark the row touched).

    onTitleCommit: (title: string) => void
    onDescriptionCommit: (description: string) => void
    onRemove: () => void
    onMoveUp?: () => void

    Moves the step one position up; omitted on the first step, which disables the button.

    onMoveDown?: () => void

    Moves the step one position down; omitted on the last step, which disables the button. With both move handlers omitted (single step), the move buttons are hidden.

    descriptionError?: string

    Optional translated inline error for the step's description (required by schema).