mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 17:30:25 +00:00
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…
x
Reference in New Issue
Block a user