First pass at fixing large type by adding maxFontSizeMultiplier (#10037)

This commit is contained in:
Samuel Newman
2026-03-10 23:39:02 +02:00
committed by GitHub
parent 6187e79b0e
commit 8b67a3ec2e
11 changed files with 41 additions and 56 deletions
+3 -1
View File
@@ -67,7 +67,9 @@ export function HeaderText({
style?: StyleProp<TextStyle>
}) {
return (
<Text style={[a.text_lg, a.text_center, a.font_semi_bold, style]}>
<Text
style={[a.text_lg, a.text_center, a.font_semi_bold, style]}
maxFontSizeMultiplier={2}>
{children}
</Text>
)
+2 -1
View File
@@ -191,7 +191,8 @@ export function TitleText({
style,
]}
numberOfLines={2}
emoji>
emoji
maxFontSizeMultiplier={2}>
{children}
</Text>
)