This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
interaktive-systeme/app/_layout.tsx
Thomas Schleicher 04e73d2edb test commit
2023-11-30 13:59:43 +01:00

32 lines
1.1 KiB
TypeScript

import { Tabs } from 'expo-router/tabs';
import {HeaderTitle} from "@react-navigation/elements";
import { FontAwesome } from "@expo/vector-icons";
export default function Layout() {
return (
<Tabs initialRouteName={"index"}>
<Tabs.Screen name="budget" options={
{
tabBarLabel: "Budget",
tabBarIcon: ({ color, size }) => (
<FontAwesome name="money" size={size} color={color}/>),
}
}/>
<Tabs.Screen name="index" options={
{
tabBarLabel: "Home",
tabBarIcon: ({ color, size }) => (
<FontAwesome name="home" size={size} color={color}/>),
}
}/>
<Tabs.Screen name="stats" options={
{
tabBarLabel: "Stats",
tabBarIcon: ({ color, size }) => (
<FontAwesome name="bar-chart" size={size} color={color}/>),
}
}/>
</Tabs>
);
}