fix: 🐛 Fixes long navigation names in tab bar

This commit is contained in:
Viktor Sarström 2021-09-14 08:04:47 +02:00
parent c66c93c9c2
commit fe51923249
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ export const TabBarLabel = ({ label, focused }: TabBarLabelProps) => {
<Text
style={[styles.label, focused ? styles.focused : null]}
maxFontSizeMultiplier={2}
numberOfLines={1}
ellipsizeMode="tail"
>
{label}
</Text>