mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
let flexbox resize components (#620)
This commit is contained in:
parent
c688c8344c
commit
da68ee86a1
@ -120,14 +120,13 @@ class BadInstagramCloneApp extends Component {
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1
|
||||
flex: 1,
|
||||
flexDirection: 'row',
|
||||
},
|
||||
preview: {
|
||||
flex: 1,
|
||||
justifyContent: 'flex-end',
|
||||
alignItems: 'center',
|
||||
height: Dimensions.get('window').height,
|
||||
width: Dimensions.get('window').width
|
||||
alignItems: 'center'
|
||||
},
|
||||
capture: {
|
||||
flex: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user