Answers for "react native <Text> center"

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language