let flexbox resize components (#620)

This commit is contained in:
Douglas Duhaime 2017-03-06 13:33:16 -05:00 committed by Zack Story
parent c688c8344c
commit da68ee86a1
1 changed files with 3 additions and 4 deletions

View File

@ -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,