Builds props for RecipeText component displaying the description
Handles mode-specific behavior:
forceEditable
scanField
Current recipe screen mode
Current description value
Setter function for description
Translation function
Keeps the editable input mounted in addOCR mode even when empty
Called by the "add manually" button to reveal the input; without it the addOCR empty state falls back to the editable input
Props object for RecipeText component
Optional
Builds props for RecipeText component displaying the description
Handles mode-specific behavior:
forceEditableis setscanField) in OCR mode onlyParam: stackMode
Current recipe screen mode
Param: recipeDescription
Current description value
Param: setRecipeDescription
Setter function for description
Param: t
Translation function
Param: forceEditable
Keeps the editable input mounted in addOCR mode even when empty
Param: onManuallyFill
Called by the "add manually" button to reveal the input; without it the addOCR empty state falls back to the editable input
Returns
Props object for RecipeText component