All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m33s
34 lines
702 B
TypeScript
34 lines
702 B
TypeScript
import { Tabs } from "expo-router";
|
|
import { Home, Settings } from "lucide-react-native";
|
|
import { colors } from "../../stlyes/global";
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
headerShown: false,
|
|
tabBarStyle: {},
|
|
tabBarActiveTintColor: "black",
|
|
tabBarInactiveTintColor: colors.textSecondary,
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="home"
|
|
options={{
|
|
title: "Home",
|
|
tabBarIcon: ({ color, size }) => <Home color={color} size={size} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="config"
|
|
options={{
|
|
title: "Config",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<Settings size={size} color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|