| 12345678910111213141516171819202122232425262728293031323334353637 |
- import React from "react";
- import FontAwesome from "@expo/vector-icons/FontAwesome";
- import { Tabs } from "expo-router";
- export default function TabLayout() {
- return (
- <Tabs screenOptions={{ tabBarActiveTintColor: "blue" }}>
- <Tabs.Screen
- name="index"
- options={{
- title: "Home",
- tabBarIcon: ({ color }) => (
- <FontAwesome size={28} name="home" color={color} />
- ),
- }}
- />
- <Tabs.Screen
- name="settings/index"
- options={{
- title: "Settings",
- tabBarIcon: ({ color }) => (
- <FontAwesome size={28} name="cog" color={color} />
- ),
- }}
- />
- <Tabs.Screen
- name="home/index"
- options={{
- title: "Homes",
- tabBarIcon: ({ color }) => (
- <FontAwesome size={28} name="search" color={color} />
- ),
- }}
- />
- </Tabs>
- );
- }
|