Answers for "react native divider example"

2

react native seperator code

<View
  style={{
    borderBottomColor: 'black',
    borderBottomWidth: 1,
  }}
/>
Posted by: Guest on May-22-2020
0

line separator with text in the center react native

<View style={{flexDirection: 'row'}}>
    <View style={{backgroundColor: 'black', height: 2, flex: 1, alignSelf: 'center'}} />
    <Text style={{ alignSelf:'center', paddingHorizontal:5, fontSize: 24 }}>Your class</Text>
    <View style={{backgroundColor: 'black', height: 2, flex: 1, alignSelf: 'center'}} />
</View>
Posted by: Guest on January-12-2021

Code answers related to "react native divider example"

Code answers related to "Javascript"

Browse Popular Code Answers by Language