Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Last active April 7, 2024 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alperbayram/8c417ae66d7fe2356a902e26866479e8 to your computer and use it in GitHub Desktop.
Save alperbayram/8c417ae66d7fe2356a902e26866479e8 to your computer and use it in GitHub Desktop.
(tabs)/_layout.tsx
import { Tabs } from "expo-router";
export default function Layout() {
return (
<Tabs>
<Tabs.Screen
name="user"
options={{
headerShown: false,
tabBarLabel: "Users",
headerTitle: "Users",
}}
/>
<Tabs.Screen
name="settings"
options={{
title: "settings",
headerTitle: "Settings",
tabBarLabel: "settings",
}}
/>
<Tabs.Screen
name="(drawer)"
options={{
headerShown: false,
title: "profile",
headerTitle: "Profile",
tabBarLabel: "profile",
}}
/>
</Tabs>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment