Preparing search index...
    EditableBaseProps: BaseProps & {
        prefixText: string;
        columnTitles: { column1: string; column2: string; column3: string };
        onIngredientChange: (index: number, newValue: string) => void;
        onAddIngredient: () => void;
        onRemoveIngredient: (index: number) => void;
        noteInputPlaceholder: string;
        hideDropdown?: boolean;
    }

    Common props for editable and add modes

    Type Declaration

    • prefixText: string

      Prefix text displayed above the table

    • columnTitles: { column1: string; column2: string; column3: string }

      Column titles for the table header

    • onIngredientChange: (index: number, newValue: string) => void

      Callback fired when an ingredient is edited

    • onAddIngredient: () => void

      Callback fired to add a new ingredient

    • onRemoveIngredient: (index: number) => void

      Callback fired to remove an ingredient at a given index

    • noteInputPlaceholder: string

      Placeholder text for the ingredient note input

    • OptionalhideDropdown?: boolean

      Force hide the dropdown (e.g., during scroll)