Limit to one line

This commit is contained in:
Eric Bailey
2024-12-03 12:09:13 -06:00
parent 8167885aa8
commit e2dcb53937
+2 -6
View File
@@ -116,12 +116,8 @@ export function TitleText({children}: {children: React.ReactNode}) {
const {gtMobile} = useBreakpoints()
return (
<Text
style={[
a.text_lg,
a.font_heavy,
a.leading_snug,
gtMobile && [a.text_xl],
]}>
style={[a.text_lg, a.font_heavy, a.leading_snug, gtMobile && [a.text_xl]]}
numberOfLines={1}>
{children}
</Text>
)