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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,21 @@
|
|||
import { Text, StyleSheet } from 'react-native';
|
||||
import { StyleSheet } from 'react-native';
|
||||
import { View, Text } from "../components/themed-components";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<Text style={styles.lightThemeText}>Home Page</Text>
|
||||
|
||||
|
||||
|
||||
<View>
|
||||
<Text>Home</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
lightThemeText: {
|
||||
color: "#242c40"
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
},
|
||||
darkThemeText: {
|
||||
color: "#d0d0c0"
|
||||
text: {
|
||||
color: "#ffffff",
|
||||
}
|
||||
});
|
||||
Reference in a new issue