refactor: make sure height set on header container is focused header height

This commit is contained in:
Satyajit Sahoo
2020-10-23 03:32:40 +02:00
parent da91cec941
commit 960f0a5281
3 changed files with 14 additions and 17 deletions

View File

@@ -113,7 +113,10 @@ export default function SimpleStackScreen({
}, [navigation]);
return (
<SimpleStack.Navigator>
<SimpleStack.Navigator
headerMode="float"
screenOptions={{ headerTransparent: true }}
>
<SimpleStack.Screen
name="Article"
component={ArticleScreen}