Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Created December 14, 2023 21:31
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/ccf5c454b708245d7e943b7c9971c53c to your computer and use it in GitHub Desktop.
Save alperbayram/ccf5c454b708245d7e943b7c9971c53c to your computer and use it in GitHub Desktop.
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="profile"
options={{
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