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.jsx
2023-11-30 01:48:22 +01:00

39 lines
No EOL
1,023 B
JavaScript

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>
)
}