test commit
This commit is contained in:
parent
59696b2caf
commit
04e73d2edb
4 changed files with 100 additions and 13 deletions
|
|
@ -1,12 +1,32 @@
|
|||
import { Tabs } from 'expo-router/tabs';
|
||||
import {HeaderTitle} from "@react-navigation/elements";
|
||||
|
||||
import { FontAwesome } from "@expo/vector-icons";
|
||||
|
||||
export default function Layout() {
|
||||
return (
|
||||
<Tabs>
|
||||
<Tabs.Screen name="budget" options={{tabBarShowLabel: false}}/>
|
||||
<Tabs.Screen name="index" />
|
||||
<Tabs.Screen name="stats" />
|
||||
<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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue