the problem is my Drawer navigtor header in stack navigator screen 2 - [name='Details',component='Anote'],
I want to remove the drawer navigator from the below picture [ie. one with the title=[Notes Maker]]
最佳答案
如果您删除 stack.Navigator 的 header ,请使用 screenOptions 属性并将 false 设为 headerShown> :
screenOptions={{headerShown:false}}
但是如果您想删除 Drawer.Navigator 的标题,请使用选项属性并使 headerShown 为 false:
options={{headerShown: false}}
关于rxjs - 如何从 react 版本 6.x 的抽屉导航器中的堆栈导航器中删除标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66873977/