35 lines
880 B
TypeScript
35 lines
880 B
TypeScript
import { Tabs } from "expo-router";
|
|
import { MaterialIcons } from "@expo/vector-icons";
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
tabBarActiveTintColor: "#10a37f",
|
|
tabBarStyle: { backgroundColor: "#ffffff" },
|
|
headerStyle: { backgroundColor: "#ffffff" },
|
|
headerTitleStyle: { fontWeight: "600" },
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="codex"
|
|
options={{
|
|
title: "Codex",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<MaterialIcons name="auto-awesome" size={size} color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="claude"
|
|
options={{
|
|
title: "Claude",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<MaterialIcons name="psychology" size={size} color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|