Added map screen + other stuff

This commit is contained in:
Alexis Leboeuf
2025-11-06 16:38:35 +01:00
parent 132c70e711
commit 6e2860318f
7 changed files with 103 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ import { HapticTab } from '@/components/haptic-tab';
import { IconSymbol } from '@/components/ui/icon-symbol';
import { Colors } from '@/constants/theme';
import { useColorScheme } from '@/hooks/use-color-scheme';
import TabTwoScreen from './index';
import TabTwoScreen from './mapScreen';
import HomeScreen from './bonjourFL';
const Tabs = createBottomTabNavigator();
@@ -31,14 +31,15 @@ export default function TabLayout() {
}}
/>
<Tabs.Screen
name="explore"
name="mapScreen"
options={{
title: 'Explore',
title: 'MapScreen',
tabBarIcon: ({ color }) => <IconSymbol size={28} name="paperplane.fill" color={color} />,
}}
>
{() => <TabTwoScreen/>}
</Tabs.Screen>
</Tabs.Navigator>
);
}