@refinio/one.ui
    Preparing search index...
    • Image file capture view.

      Parameters

      • props: {
            active: boolean;
            cameraName?: string;
            captureType?: CameraCaptureTypeProp;
            onFileChange: (file: File) => void;
        }
        • active: boolean

          should the View show

        • OptionalcameraName?: string

          Optional. Default 'CameraCapture'. Name of the file

        • OptionalcaptureType?: CameraCaptureTypeProp

          Optional. Default 'image/jpeg'. Mime type of images

        • onFileChange: (file: File) => void

          callback for captured file

      Returns ReactElement