react native center text vertically full screen

Solutions on MaxInterview for react native center text vertically full screen by the best coders in the world

showing results for - "react native center text vertically full screen"
Veronica
22 Feb 2020
1<View style={{
2    flex: 1, 
3    alignItems: 'center',
4    justifyContent: 'center', 
5    backgroundColor: 'blue'
6}}>
7    <Text style={{backgroundColor: 'red'}}>
8        Your Text
9    </Text>
10</View>