I am trying to open drawer from homeScreen. drawer is opening when I swipe right but. I want to open Draer onPress of menu Icon. But Its not working. I used openDrawer, toggleDrawer but nothing work.

here is my code

```

function MyDrawer() {
  return (
    <Drawer.Navigator initialRouteName="homeScreen">
      <Drawer.Screen name="homeSreen" component={homeScreen} 

      options={{
        headerLeft: () => <Icon
            name="menu"
            size={25}
            color="#D4AF37"
            onPress={() => navigation.toggleDrawer()}
          />
  }} 
      />
    </Drawer.Navigator>
  );
}

function App({ navigation }) {
  return (
    <NavigationContainer>
      <Stack.Navigator>
        <Stack.Screen name="splashScreen" component={splashScreen} options={{headerShown: false}} />
        <Stack.Screen name="loginScreen" component={loginScreen}  options={{headerShown: false}} />
        <Stack.Screen name="homeScreen" component={MyDrawer}  />
      </Stack.Navigator>
    </NavigationContainer>
  );
}

export default App;

```