
/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GeneratePropsCpp.js
 */

#include <react/renderer/components/NativeCameraKitSpec/Props.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/core/propsConversions.h>

namespace facebook::react {

CKCameraProps::CKCameraProps(
    const PropsParserContext &context,
    const CKCameraProps &sourceProps,
    const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),

    flashMode(convertRawProp(context, rawProps, "flashMode", sourceProps.flashMode, {})),
    focusMode(convertRawProp(context, rawProps, "focusMode", sourceProps.focusMode, {})),
    maxPhotoQualityPrioritization(convertRawProp(context, rawProps, "maxPhotoQualityPrioritization", sourceProps.maxPhotoQualityPrioritization, {})),
    zoomMode(convertRawProp(context, rawProps, "zoomMode", sourceProps.zoomMode, {})),
    zoom(convertRawProp(context, rawProps, "zoom", sourceProps.zoom, {-1.0})),
    maxZoom(convertRawProp(context, rawProps, "maxZoom", sourceProps.maxZoom, {-1.0})),
    torchMode(convertRawProp(context, rawProps, "torchMode", sourceProps.torchMode, {})),
    cameraType(convertRawProp(context, rawProps, "cameraType", sourceProps.cameraType, {})),
    scanBarcode(convertRawProp(context, rawProps, "scanBarcode", sourceProps.scanBarcode, {false})),
    showFrame(convertRawProp(context, rawProps, "showFrame", sourceProps.showFrame, {false})),
    laserColor(convertRawProp(context, rawProps, "laserColor", sourceProps.laserColor, {})),
    frameColor(convertRawProp(context, rawProps, "frameColor", sourceProps.frameColor, {})),
    ratioOverlay(convertRawProp(context, rawProps, "ratioOverlay", sourceProps.ratioOverlay, {})),
    ratioOverlayColor(convertRawProp(context, rawProps, "ratioOverlayColor", sourceProps.ratioOverlayColor, {})),
    resetFocusTimeout(convertRawProp(context, rawProps, "resetFocusTimeout", sourceProps.resetFocusTimeout, {-1})),
    resetFocusWhenMotionDetected(convertRawProp(context, rawProps, "resetFocusWhenMotionDetected", sourceProps.resetFocusWhenMotionDetected, {false})),
    resizeMode(convertRawProp(context, rawProps, "resizeMode", sourceProps.resizeMode, {})),
    scanThrottleDelay(convertRawProp(context, rawProps, "scanThrottleDelay", sourceProps.scanThrottleDelay, {-1})),
    barcodeFrameSize(convertRawProp(context, rawProps, "barcodeFrameSize", sourceProps.barcodeFrameSize, {})),
    shutterPhotoSound(convertRawProp(context, rawProps, "shutterPhotoSound", sourceProps.shutterPhotoSound, {false})),
    shutterAnimationDuration(convertRawProp(context, rawProps, "shutterAnimationDuration", sourceProps.shutterAnimationDuration, {-1})),
    outputPath(convertRawProp(context, rawProps, "outputPath", sourceProps.outputPath, {}))
      {}

} // namespace facebook::react
