Skip to content

Commit

Permalink
Merge pull request #15 from Naveen-g09/tab-style
Browse files Browse the repository at this point in the history
tab name and fonts
  • Loading branch information
Naveen-g09 authored Mar 5, 2024
2 parents 6d3e83f + f142429 commit 5a19004
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,20 @@ export default function RootLayout() {
const colorScheme = useColorScheme();
return (
<Tabs>
<Tabs.Screen name="index" options={{headerShown: false}}/>
<Tabs.Screen name="category" options={{headerShown: false}}/>
<Tabs.Screen name="community" options={{headerShown: false}}/>
<Tabs.Screen name="account" options={{headerShown: false}}/>
<Tabs.Screen name="index"
options={{
title: "Home",
tabBarIcon: (props) => <TabBarIcon {...props} name="home" />,
headerShown: false}}/>
<Tabs.Screen name="category" options={{
tabBarIcon: (props) => <TabBarIcon {...props} name="list" />,
headerShown: false}}/>
<Tabs.Screen name="community" options={{
tabBarIcon: (props) => <TabBarIcon {...props} name="users" />,
headerShown: false}}/>
<Tabs.Screen name="account" options={{
tabBarIcon: (props) => <TabBarIcon {...props} name="user" />,
headerShown: false}}/>
</Tabs>
);
}

0 comments on commit 5a19004

Please sign in to comment.