2026-01-11 18:10:27 +00:00
|
|
|
import { Ionicons } from "@expo/vector-icons";
|
|
|
|
|
import { Tabs } from "expo-router";
|
|
|
|
|
|
|
|
|
|
const iconSize = 22;
|
|
|
|
|
|
|
|
|
|
export default function TabLayout() {
|
|
|
|
|
return (
|
|
|
|
|
<Tabs screenOptions={{ headerShown: false }}>
|
|
|
|
|
<Tabs.Screen
|
2026-01-11 18:13:34 +00:00
|
|
|
name="orchestrator"
|
2026-01-11 18:10:27 +00:00
|
|
|
options={{
|
2026-01-11 18:13:34 +00:00
|
|
|
title: "Orchestrator",
|
|
|
|
|
tabBarLabel: "Orchestrator",
|
2026-01-11 18:10:27 +00:00
|
|
|
tabBarIcon: ({ color, focused }) => (
|
|
|
|
|
<Ionicons
|
|
|
|
|
color={color}
|
2026-01-11 18:13:34 +00:00
|
|
|
name={focused ? "flash" : "flash-outline"}
|
2026-01-11 18:10:27 +00:00
|
|
|
size={iconSize}
|
|
|
|
|
/>
|
|
|
|
|
),
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Tabs.Screen
|
2026-01-11 18:13:34 +00:00
|
|
|
name="index"
|
2026-01-11 18:10:27 +00:00
|
|
|
options={{
|
2026-01-11 18:13:34 +00:00
|
|
|
title: "BLE",
|
|
|
|
|
tabBarLabel: "BLE",
|
2026-01-11 18:10:27 +00:00
|
|
|
tabBarIcon: ({ color, focused }) => (
|
|
|
|
|
<Ionicons
|
|
|
|
|
color={color}
|
2026-01-11 18:13:34 +00:00
|
|
|
name={focused ? "bluetooth" : "bluetooth-outline"}
|
2026-01-11 18:10:27 +00:00
|
|
|
size={iconSize}
|
|
|
|
|
/>
|
|
|
|
|
),
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Tabs.Screen
|
|
|
|
|
name="todos"
|
|
|
|
|
options={{
|
|
|
|
|
title: "Todos",
|
|
|
|
|
tabBarLabel: "Todos",
|
|
|
|
|
tabBarIcon: ({ color, focused }) => (
|
|
|
|
|
<Ionicons
|
|
|
|
|
color={color}
|
|
|
|
|
name={focused ? "checkmark-done" : "checkmark-done-outline"}
|
|
|
|
|
size={iconSize}
|
|
|
|
|
/>
|
|
|
|
|
),
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Tabs.Screen
|
|
|
|
|
name="stocks"
|
|
|
|
|
options={{
|
|
|
|
|
title: "Stocks",
|
|
|
|
|
tabBarLabel: "Stocks",
|
|
|
|
|
tabBarIcon: ({ color, focused }) => (
|
|
|
|
|
<Ionicons
|
|
|
|
|
color={color}
|
|
|
|
|
name={focused ? "stats-chart" : "stats-chart-outline"}
|
|
|
|
|
size={iconSize}
|
|
|
|
|
/>
|
|
|
|
|
),
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Tabs.Screen
|
|
|
|
|
name="settings"
|
|
|
|
|
options={{
|
|
|
|
|
title: "Settings",
|
|
|
|
|
tabBarLabel: "Settings",
|
|
|
|
|
tabBarIcon: ({ color, focused }) => (
|
|
|
|
|
<Ionicons
|
|
|
|
|
color={color}
|
|
|
|
|
name={focused ? "settings" : "settings-outline"}
|
|
|
|
|
size={iconSize}
|
|
|
|
|
/>
|
|
|
|
|
),
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</Tabs>
|
|
|
|
|
);
|
|
|
|
|
}
|