Preparing search index...

    OCR button row for addOCR mode: scan ingredient names, optionally scan quantities for existing names, and add a row. The names scan button is always rendered; the quantities one requires withQuantities.

    interface IngredientsOcrButtonsProps {
        testID: string;
        addButtonLabel: string;
        onAddIngredient: () => void;
        withQuantities?: boolean;
    }
    Index
    testID: string
    addButtonLabel: string

    Caption of the add button

    onAddIngredient: () => void
    withQuantities?: boolean

    Rows exist: renders the scan-quantities button and swaps the "add manually" pencil for a plus add button