init edit

This commit is contained in:
Patryk
2025-04-15 21:54:54 +02:00
parent 6e8a235ed4
commit 5e44b30a49
5 changed files with 183 additions and 14 deletions

View File

@@ -21,10 +21,11 @@ export default function TabLayout() {
headerTintColor: theme.colors.primary,
tabBarItemStyle: { flex: 1 },
}}>
<Tabs.Screen name="index" options={{ title: 'Home',tabBarIcon: ({ color, focused }) => (
<Ionicons name={focused ? 'home-sharp' : 'home-outline'} color={color} size={24} />
), }} />
<Tabs.Screen name="addLocation" options={{title: 'Create' ,tabBarIcon: ({ color, focused }) => (
<Tabs.Screen name="add" options={{title: 'Create' ,tabBarIcon: ({ color, focused }) => (
<Ionicons name={focused ? 'add-circle-sharp' : 'add-circle-outline'} color={color} size={24} />
),}} />
</Tabs>