I'm trying to implement headers for components using a react-navigation drawer navigator, but using the createDrawerNavigator() method causes the header to be removed completely.
Using the official react-navigation v3 'simple-header-button' snack (at https://snack.expo.io/@react-navigation/simple-header-button-v3), the createStackNavigator() method renders the header fine, but just changing createStackNavigator() to createDrawerNavigator() removes it.
Not helpful that the documentation hasn't been changed from v2 to reflect any potential changes that are required that may be causing this, but clearly the method of applying headers is not the same between the two navigation approaches.
(Not included my own code because the official snack demonstrates this issue).