24 lines
645 B
TypeScript
24 lines
645 B
TypeScript
import FontAwesome from '@expo/vector-icons/FontAwesome'
|
|
import { Tabs } from 'expo-router'
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<Tabs screenOptions={{ tabBarActiveTintColor: 'blue', tabBarShowLabel: false }}>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
headerShown: false,
|
|
tabBarIcon: ({ color }) => <FontAwesome size={28} name="home" color={color} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="settings"
|
|
options={{
|
|
headerShown: false,
|
|
tabBarIcon: ({ color }) => <FontAwesome size={28} name="cog" color={color} />,
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
)
|
|
}
|