mirror of
https://github.com/status-im/react-native-camera.git
synced 2026-08-30 21:21:06 +00:00
changed so we use the cropToPreview parameter to crop the image
This commit is contained in:
+2
-1
@@ -13,9 +13,10 @@ const styles = StyleSheet.create({
|
||||
flex: 1,
|
||||
},
|
||||
preview: {
|
||||
flex: 1,
|
||||
alignSelf: "stretch",
|
||||
justifyContent: 'flex-end',
|
||||
alignItems: 'center',
|
||||
height: 200
|
||||
},
|
||||
overlay: {
|
||||
position: 'absolute',
|
||||
|
||||
Reference in New Issue
Block a user