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,
|
tabBarShowLabel: false,
|
||||||
headerShown: false,
|
headerShown: false,
|
||||||
tabBarStyle: {
|
tabBarStyle: {
|
||||||
paddingTop: 20,
|
height: 70,
|
||||||
paddingBottom: 50,
|
elevation: 0,
|
||||||
borderTopColor: '#f2f2f2',
|
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
<Tabs.Screen
|
<Tabs.Screen
|
||||||
|
|
|
@ -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} />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue