first tests

This commit is contained in:
Jakob Stornig 2023-11-30 01:48:22 +01:00
parent 66d33ce07e
commit 55c9f605ff
11 changed files with 14523 additions and 84 deletions

39
app/_layout.jsx Normal file
View file

@ -0,0 +1,39 @@
import { View, Text } from 'react-native'
import Icon from 'react-native-vector-icons/FontAwesome'
import React from 'react'
import { Tabs } from 'expo-router'
export default function _layout() {
return (
<Tabs
initialRouteName='index' screenOptions={{
tabBarShowLabel: false
}}>
<Tabs.Screen name="expenses" options={{
tabBarIcon: ({focused}) =>{
return (
<Icon name="money" size={50} color={focused ? 'orange' : 'grey'}></Icon>
)
},
}}/>
<Tabs.Screen name="index" options={{
tabBarIcon: ({focused}) =>{
return (
<Icon name="home" size={50} color={focused ? 'orange' : 'grey'}></Icon>
)
}
}}/>
<Tabs.Screen name="stats" options={{
tabBarIcon: ({focused}) =>{
return (
<Icon name="pie-chart" size={50} color={focused ? 'orange' : 'grey'}></Icon>
)
}
}}/>
</Tabs>
)
}

10
app/expenses.jsx Normal file
View file

@ -0,0 +1,10 @@
import { View, Text } from 'react-native'
import React from 'react'
export default function Expenses() {
return (
<View>
<Text>Expenses</Text>
</View>
)
}

14
app/index.jsx Normal file
View file

@ -0,0 +1,14 @@
import { View, Text, Button} from 'react-native'
import * as react from 'react'
import { Link } from 'expo-router'
export default function Page() {
return (
<View style={{flex: 1, justifyContent:'center', alignItems: 'center'}}>
<Text>Hello World</Text>
</View>
)
}

10
app/stats.jsx Normal file
View file

@ -0,0 +1,10 @@
import { View, Text } from 'react-native'
import React from 'react'
export default function Stats() {
return(
<View>
<Text>Stats</Text>
</View>
)
}