Preparing search index...
    RecipeNumberAddOrEditProps: {
        testID: string;
        scanField: OcrModalTarget;
        withScan?: boolean;
        prefixText?: string;
        suffixText?: string;
    } & (RecipeNumberAddProps | RecipeNumberEditProps)

    Props for add/edit modes with discriminated union

    Type Declaration

    • testID: string

      Test ID for the editable component

    • scanField: OcrModalTarget

      Field the Scan button targets

    • OptionalwithScan?: boolean

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

    • OptionalprefixText?: string

      Optional text to display before the number

    • OptionalsuffixText?: string

      Optional text to display after the number