Update navigation click area

This commit is contained in:
Maarten 2024-07-31 17:05:42 +02:00
parent e49de778c3
commit 43348ee2d3
2 changed files with 3 additions and 4 deletions

View file

@ -15,9 +15,8 @@ export default function TabLayout() {
tabBarShowLabel: false,
headerShown: false,
tabBarStyle: {
paddingTop: 20,
paddingBottom: 50,
borderTopColor: '#f2f2f2',
height: 70,
elevation: 0,
}
}}>
<Tabs.Screen

View file

@ -5,5 +5,5 @@ import { type IconProps } from '@expo/vector-icons/build/createIconSet';
import { type ComponentProps } from 'react';
export function TabBarIcon({ style, ...rest }: IconProps<ComponentProps<typeof Ionicons>['name']>) {
return <Ionicons size={24} style={[{ marginBottom: -30 }, style]} {...rest} />;
return <Ionicons size={28} style={[style]} {...rest} />;
}