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, tabBarShowLabel: false,
headerShown: false, headerShown: false,
tabBarStyle: { tabBarStyle: {
paddingTop: 20, height: 70,
paddingBottom: 50, elevation: 0,
borderTopColor: '#f2f2f2',
} }
}}> }}>
<Tabs.Screen <Tabs.Screen

View file

@ -5,5 +5,5 @@ import { type IconProps } from '@expo/vector-icons/build/createIconSet';
import { type ComponentProps } from 'react'; import { type ComponentProps } from 'react';
export function TabBarIcon({ style, ...rest }: IconProps<ComponentProps<typeof Ionicons>['name']>) { 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} />;
} }