@refinio/one.ui
    Preparing search index...
    • Camera capture popup.

      Parameters

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

          should the View show

        • OptionalcameraName?: string

          Optional. Default 'CameraCapture'. Name of the file

        • OptionalcaptureType?: CameraCaptureTypeProp

          Optional. Default CameraCaptureType.IMAGE.

        • OptionalonClose?: () => void

          Optional. callback for closing the view. !IMPORTANT not refreshed, first defenition only

        • onFileChange: (file: File) => void

          callback for captured file

      Returns ReactElement