1 parent c7b499b commit 802adfdCopy full SHA for 802adfd
1 file changed
packages/rn-tester/js/examples/Text/TextExample.ios.js
@@ -211,6 +211,21 @@ class AdjustingFontSize extends React.Component<
211
Shrinking to fit available space is much better!
212
</Text>
213
214
+ <Text
215
+ numberOfLines={1}
216
+ adjustsFontSizeToFit={true}
217
+ style={{fontSize: 16, marginVertical: 6}}>
218
+ It doesn't grow
219
+ </Text>
220
+
221
222
223
224
+ minimumFontScale={0.5}
225
+ style={{fontSize: 40, marginVertical: 6}}>
226
+ Can limit how small the text becomes with minimumFontScale
227
228
229
<Text
230
adjustsFontSizeToFit={true}
231
numberOfLines={1}
0 commit comments