Center align text on Android
Summary: Center align text on Android Reviewed By: fkgozali Differential Revision: D3295222 fbshipit-source-id: c707d1102c8aa86aa04dc9b34a4746b1ff1543bc
This commit is contained in:
parent
90663bcb12
commit
3f1cd5aa4e
|
@ -84,6 +84,7 @@ const styles = StyleSheet.create({
|
|||
text: {
|
||||
color: '#ffffff',
|
||||
fontSize: 12,
|
||||
textAlign: 'center', // For Android to align properly
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue