41 lines
989 B
TypeScript
41 lines
989 B
TypeScript
import Feather from "@expo/vector-icons/Feather";
|
|
import { Tabs } from "expo-router";
|
|
import React from "react";
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
headerShown: false,
|
|
tabBarActiveTintColor: "#dc2626",
|
|
tabBarStyle: {
|
|
backgroundColor: "hsl(221, 39%, 12%)",
|
|
borderTopColor: "#dc2626",
|
|
borderTopWidth: 1.5,
|
|
paddingTop: 10,
|
|
},
|
|
tabBarInactiveTintColor: "hsl(0, 0%, 100%)",
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: "Home",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<Feather name="home" size={size} color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="explore"
|
|
options={{
|
|
title: "Durchsuchen",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<Feather name="search" size={size} color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|