Revert "add props with callback from native"
This reverts commit 34a37b79a0.
This commit is contained in:
parent
a76576b761
commit
85592ce65b
@ -130,16 +130,15 @@ export default class CameraScreenBase extends Component {
|
||||
<View style={styles.cameraContainer}>
|
||||
{
|
||||
this.isCaptureRetakeMode() ?
|
||||
<Image
|
||||
style={{flex: 1, justifyContent: 'flex-end'}}
|
||||
source={{uri: this.state.imageCaptured.uri}}
|
||||
/> :
|
||||
<CameraKitCamera
|
||||
ref={(cam) => this.camera = cam}
|
||||
style={{flex: 1, justifyContent: 'flex-end'}}
|
||||
cameraOptions={this.state.cameraOptions}
|
||||
onReadCode={this.props.onReadCode}
|
||||
/>
|
||||
<Image
|
||||
style={{flex: 1, justifyContent: 'flex-end'}}
|
||||
source={{uri: this.state.imageCaptured.uri}}
|
||||
/> :
|
||||
<CameraKitCamera
|
||||
ref={(cam) => this.camera = cam}
|
||||
style={{flex: 1, justifyContent: 'flex-end'}}
|
||||
cameraOptions={this.state.cameraOptions}
|
||||
/>
|
||||
}
|
||||
</View>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user