Preparing search index...
    RecipeTextAddOrEditProps: {
        testID: string;
        scanField: OcrModalTarget;
        withScan?: boolean;
    } & (RecipeTextAddProps | RecipeTextEditProps)

    Props for editing configuration Uses discriminated union for type safety between add and edit modes

    Type Declaration

    • testID: string

      Unique identifier for testing and accessibility

    • scanField: OcrModalTarget

      Field the Scan button targets

    • OptionalwithScan?: boolean

      Renders the Scan button (add mode) or trailing input icon (editable mode) for scanField