25 lines
636 B
TypeScript
25 lines
636 B
TypeScript
import { Tabs } from "expo-router";
|
|
import { Ionicons } from "@expo/vector-icons";
|
|
|
|
export default function TabsLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
headerShown: false,
|
|
}}
|
|
>
|
|
<Tabs.Screen name="index" options={{
|
|
title: "Birthdays",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<Ionicons name="gift" size={size} color={color} />
|
|
),
|
|
}} />
|
|
<Tabs.Screen name="settings" options={{
|
|
title: "Settings",
|
|
tabBarIcon: ({ color, size }) => (
|
|
<Ionicons name="settings" size={size} color={color} />
|
|
),
|
|
}} />
|
|
</Tabs>
|
|
);
|
|
} |