Add Logo to Title

This commit is contained in:
Samuel Oberhofer
2022-12-10 12:33:49 +01:00
parent 9165c52a5b
commit 07a70e277e
3 changed files with 27 additions and 0 deletions
+3
View File
@@ -5,6 +5,7 @@ import Icon from "react-native-vector-icons/Ionicons";
import Colors from "../constants/colors";
import MainScreen from "../screens/MainScreen";
import LogoTitle from "../components/LogoTitle";
const Tab = createBottomTabNavigator();
@@ -16,6 +17,8 @@ function Navigator() {
headerStyle: {
backgroundColor: Colors.accent500,
},
tabBarShowLabel: false,
headerTitle: (props) => <LogoTitle {...props} />,
}}
>
<Tab.Screen