mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +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, {
|
||||
nativeOnly: {
|
||||
onCameraReady: true,
|
||||
onMountError: true,
|
||||
onBarCodeRead: true,
|
||||
onFaceDetected: true,
|
||||
faceDetectorEnabled: true,
|
||||
accessibilityComponentType: true,
|
||||
accessibilityLabel: true,
|
||||
accessibilityLiveRegion: 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