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]]
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]]
if you remove header of stack.Navigator use the screenOptions attribute and make false the headerShown :
screenOptions={{headerShown:false}}
but is you want to remove the header of Drawer.Navigator use the options attribute and make false the headerShown:
options={{headerShown: false}}
well if you remove options={{ headerShow: true}} from <Drawer.screem ... > tag it will works because according to documentation: headerShown#
Whether to show or hide the header for the screen. The header is not shown by default. Setting this to true shows the header.