- Expo managed project at apps/mobile/ with TypeScript - Expo Router with 4 tabs: Map, Routes, Activities, Profile - app.config.ts with monorepo experiment, bundle IDs, scheme - Workspace packages linked: api, gpx, i18n, map-core, types - Profile tab imports API_VERSION from @trails-cool/api to verify shared package resolution Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
793 B
TypeScript
41 lines
793 B
TypeScript
import { Tabs } from "expo-router";
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
tabBarActiveTintColor: "#4A6B40",
|
|
headerShown: false,
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: "Map",
|
|
tabBarIcon: () => null,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="routes"
|
|
options={{
|
|
title: "Routes",
|
|
tabBarIcon: () => null,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="activities"
|
|
options={{
|
|
title: "Activities",
|
|
tabBarIcon: () => null,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="profile"
|
|
options={{
|
|
title: "Profile",
|
|
tabBarIcon: () => null,
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|