mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
+7
-1
@@ -349,7 +349,13 @@ AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
|
||||
<ul>
|
||||
<li><p><strong><code>textAlignVertical</code></strong>: enum('auto', 'top', 'bottom', 'center') (<em>Android</em>)</p></li>
|
||||
<li><p><strong><code>fontVariant</code></strong>: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (<em>iOS</em>)</p></li>
|
||||
<li><p><strong><code>letterSpacing</code></strong>: number (<em>iOS</em>)</p></li>
|
||||
<li><p><strong><code>letterSpacing</code></strong>: number</p>
|
||||
<p>Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.</p>
|
||||
<p>iOS: The additional space will be rendered after each glyph.</p>
|
||||
<p>Android: Only supported since Android 5.0 - older versions will ignore this attribute.
|
||||
Please note that additional space will be added <em>around</em> the glyphs (half on each side), which
|
||||
differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout
|
||||
attributes, e.g. negative margins, as appropriate for your situation.</p></li>
|
||||
<li><p><strong><code>textDecorationColor</code></strong>: <a href="/react-native/docs/next/colors.html">color</a> (<em>iOS</em>)</p></li>
|
||||
<li><p><strong><code>textDecorationStyle</code></strong>: enum('solid', 'double', 'dotted', 'dashed') (<em>iOS</em>)</p></li>
|
||||
<li><p><strong><code>writingDirection</code></strong>: enum('auto', 'ltr', 'rtl') (<em>iOS</em>)</p></li>
|
||||
|
||||
Reference in New Issue
Block a user