showing results for - "line separator with text in the center react native"
Simon
07 Jan 2019
1<View style={{flexDirection: 'row'}}>
2    <View style={{backgroundColor: 'black', height: 2, flex: 1, alignSelf: 'center'}} />
3    <Text style={{ alignSelf:'center', paddingHorizontal:5, fontSize: 24 }}>Your class</Text>
4    <View style={{backgroundColor: 'black', height: 2, flex: 1, alignSelf: 'center'}} />
5</View>
6