113
rated 0 times
[
118]
[
5]
/ answers: 1 / hits: 66852
/ 9 Years ago, sun, may 3, 2015, 12:00:00
One short question.
Is there a way to centralize text in react-native Textinput
?
Here is the markup in jsx:
<TextInput style={styles.input} placeholder=Your Account />
In styles.input, just try to add textAlign:center
, it's not working.
And same as add alignAlign to the markup as an attribute.
Could anybody do me a favor? Thx.
More From » react-native