mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 17:58:20 +00:00
Update Camera.js
This commit is contained in:
parent
d449599248
commit
b97e153ec9
@ -88,6 +88,7 @@ export default class Camera extends Component {
|
|||||||
onFocusChanged: PropTypes.func,
|
onFocusChanged: PropTypes.func,
|
||||||
onZoomChanged: PropTypes.func,
|
onZoomChanged: PropTypes.func,
|
||||||
mirrorImage: PropTypes.bool,
|
mirrorImage: PropTypes.bool,
|
||||||
|
barCodeTypes: PropTypes.array,
|
||||||
orientation: PropTypes.oneOfType([
|
orientation: PropTypes.oneOfType([
|
||||||
PropTypes.string,
|
PropTypes.string,
|
||||||
PropTypes.number
|
PropTypes.number
|
||||||
@ -116,6 +117,7 @@ export default class Camera extends Component {
|
|||||||
playSoundOnCapture: true,
|
playSoundOnCapture: true,
|
||||||
torchMode: CameraManager.TorchMode.off,
|
torchMode: CameraManager.TorchMode.off,
|
||||||
mirrorImage: false,
|
mirrorImage: false,
|
||||||
|
barCodeTypes: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
static checkDeviceAuthorizationStatus = CameraManager.checkDeviceAuthorizationStatus;
|
static checkDeviceAuthorizationStatus = CameraManager.checkDeviceAuthorizationStatus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user