mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 17:58:20 +00:00
set more native only props
This commit is contained in:
parent
49ab6d4e61
commit
ef4c90111e
@ -253,11 +253,18 @@ export const Constants = Camera.Constants;
|
|||||||
|
|
||||||
const RNCamera = requireNativeComponent('RNCamera', Camera, {
|
const RNCamera = requireNativeComponent('RNCamera', Camera, {
|
||||||
nativeOnly: {
|
nativeOnly: {
|
||||||
onCameraReady: true,
|
accessibilityComponentType: true,
|
||||||
onMountError: true,
|
accessibilityLabel: true,
|
||||||
onBarCodeRead: true,
|
accessibilityLiveRegion: true,
|
||||||
onFaceDetected: true,
|
|
||||||
faceDetectorEnabled: true,
|
|
||||||
barCodeScannerEnabled: true,
|
barCodeScannerEnabled: true,
|
||||||
|
faceDetectorEnabled: true,
|
||||||
|
importantForAccessibility: true,
|
||||||
|
onBarCodeRead: true,
|
||||||
|
onCameraReady: true,
|
||||||
|
onFaceDetected: true,
|
||||||
|
onLayout: true,
|
||||||
|
onMountError: true,
|
||||||
|
renderToHardwareTextureAndroid: true,
|
||||||
|
testID: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user