1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

added support flex: 1 and and tag support Dimensions (#4460)

This commit is contained in:
Dimka Vasilyev 2018-05-23 23:47:16 +03:00 committed by Tim Neutkens
parent c461d46efd
commit 763ddc08a1
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,8 @@ let index = 0
const normalizeNextElements = `
body > div:first-child,
#__next {
display: flex;
flex-direction: column;
height: 100%;
}
`

View file

@ -3,8 +3,8 @@ import { StyleSheet, Text, View } from 'react-native'
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
height: '100%',
justifyContent: 'center'
},
text: {