feat: initial project scaffold with Watch companion app

This commit is contained in:
2026-08-04 17:28:06 +02:00
parent adbb4f01c5
commit 43b6467efb
65 changed files with 6361 additions and 166 deletions
+35
View File
@@ -0,0 +1,35 @@
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { HistoryStackParamList } from "./types";
import { HistoryScreen } from "../features/history/screens/HistoryScreen";
import { SessionDetailScreen } from "../features/history/screens/SessionDetailScreen";
import { StatsScreen } from "../features/history/screens/StatsScreen";
const Stack = createNativeStackNavigator<HistoryStackParamList>();
export function HistoryNavigator() {
return (
<Stack.Navigator
screenOptions={{
headerStyle: { backgroundColor: "#0ea5e9" },
headerTintColor: "#fff",
headerTitleStyle: { fontWeight: "bold" },
}}
>
<Stack.Screen
name="HistoryList"
component={HistoryScreen}
options={{ title: "History" }}
/>
<Stack.Screen
name="SessionDetail"
component={SessionDetailScreen}
options={{ title: "Session Detail" }}
/>
<Stack.Screen
name="Stats"
component={StatsScreen}
options={{ title: "Statistics" }}
/>
</Stack.Navigator>
);
}