You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,7 @@ fontStyle | string | 'normal' | One of "normal" or "italic".
100
100
lineHeight | number | (none) | The line height of each line. Defaults to the font size.
101
101
numberOfLines | number | (none) | Limit the number of lines the text can render on
102
102
fontVariant | array | (none) | _iOS only_
103
+
ceilToClosestPixel | boolean | true | _iOS only_. If true, we ceil the output to the closest pixel. This is React Native's default behavior, but can be disabled if you're trying to measure text in a native component that doesn't respect this.
103
104
allowFontScaling | boolean | true | To respect the user' setting of large fonts (i.e. use SP units).
104
105
letterSpacing | number | (none) | Additional spacing between characters (aka `tracking`).<br>**Note:** In iOS a zero cancels automatic kerning.<br>_All iOS, Android with API 21+_
105
106
includeFontPadding | boolean | true | Include additional top and bottom padding, to avoid clipping certain characters.<br>_Android only_
0 commit comments