blob: c15f37f1c0d724c31ce5998b229c55568203cd27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import { Tabs } from "expo-router";
import { Home, Settings } from "lucide-react-native";
import React from "react";
export default function TabLayout() {
return (
<Tabs screenOptions={{ tabBarActiveTintColor: "blue" }}>
<Tabs.Screen
name="index"
options={{
title: "Home",
tabBarIcon: ({ color }) => <Home color={color} />,
}}
/>
<Tabs.Screen
name="settings"
options={{
title: "Settings",
tabBarIcon: ({ color }) => <Settings color={color} />,
}}
/>
</Tabs>
);
}
|