title: The side menu button in navigation drawer is not working when i press it in React native
body: <pre><code>static navigationOptions = ({navigation}) =&gt; {
    return {
      headerLeft: (
        &lt;View style ={{padding:10}}&gt;
          &lt;Ionicons name = "md-menu" size={32} onPress ={()=&gt;{navigation.navigate('DrawerOpen')}}/&gt;
        &lt;/View&gt;
      )
    }
  }
  </code></pre>