Update navigation click area
This commit is contained in:
parent
e49de778c3
commit
43348ee2d3
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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} />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue