Preparing search index...

    Props for the editable section frame (prefix text + add round button).

    interface PreparationSectionProps {
        prefixText: string;
        children: ReactNode;
        onAddStep: () => void;
        isEmpty?: boolean;
        withScan?: boolean;
    }
    Index
    prefixText: string
    children: ReactNode
    onAddStep: () => void
    isEmpty?: boolean

    Whether the step list is empty; with withScan, the add button becomes "add manually".

    withScan?: boolean

    Renders the OCR scan button for the preparation field (OCR mode)