'Replacing reactnative Stack.navigator Topbar
So I wanted to replace the stack.navigator top bar with KittenUi top navigation component. Im not a mobile developer but my company is to cheap to hire one. I'm using react-native expo.
Solution 1:[1]
Fixed this by using option on stack.navigator
<Stack.Navigator
screenOptions={({ navigation }) => ({
header: ({}) => {
return (
<TopNavigationAccessoriesShowcase navigation={navigation} />
);
},
})}
>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | newbie123 |
