Answers for "react native text align"

7

android center text react native

headline: {
    textAlign: 'center', // <-- the magic
    fontWeight: 'bold',
    fontSize: 18,
    marginTop: 0,
    width: 200,
    backgroundColor: 'yellow',
  }
Posted by: Guest on July-18-2020
0

react native text right align

textAlign:'right'
Posted by: Guest on April-25-2021
0

align text center react native

<View style={{flex: 1,textAlign: 'center',alignItems: 'center', textAlignVertical: 'center' }}>
Posted by: Guest on December-24-2020

Code answers related to "react native text align"

Code answers related to "Javascript"

Browse Popular Code Answers by Language