Is there any way to change the height
of createMaterialTopTabNavigator
from inside a child screen?
Basically - I have a request coming in from the server and in case there's no data - I need to show a placeholder screen (without the tab bar at the top). Is there any elegant way to do that?
I just thought of doing 0 on contentContainerStyle
s height
and it pretty much does the job done.