blob: db6656b2e4709178b2d7f9e8182440bbc1e502f4 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import React from "react";
import { Tabs } from "expo-router";
import { ClipboardList, Home, Search, Settings } from "lucide-react-native";
export default function TabLayout() {
return (
<Tabs screenOptions={{ tabBarActiveTintColor: "blue", headerShown: false }}>
<Tabs.Screen
name="index"
options={{
title: "Home",
tabBarIcon: ({ color }) => <Home color={color} />,
}}
/>
<Tabs.Screen
name="search"
options={{
title: "Search",
tabBarIcon: ({ color }) => <Search color={color} />,
}}
/>
<Tabs.Screen
name="lists"
options={{
title: "Lists",
tabBarIcon: ({ color }) => <ClipboardList color={color} />,
}}
/>
<Tabs.Screen
name="settings"
options={{
title: "Settings",
tabBarIcon: ({ color }) => <Settings color={color} />,
}}
/>
</Tabs>
);
}
|