Preparing search index...
    AddProps: Omit<EditableBaseProps, "ingredients"> & {
        mode: "add";
        ingredients: (ingredientTableElement | FormIngredientElement)[];
        openModal: () => void;
    }

    Props for add mode (OCR) Same as editable mode but with additional OCR button support for empty state Accepts incomplete ingredients (FormIngredientElement) for new ingredients being added

    Type Declaration

    • mode: "add"
    • ingredients: (ingredientTableElement | FormIngredientElement)[]

      Array of ingredients, may include incomplete FormIngredientElement for new ingredients

    • openModal: () => void

      Callback fired to open OCR modal (for empty state)