title: Access navigation prop from navigationOpstions with funcional components
body: <p>I want to add a openDrawer button at my nested stack navigation header, and for this I need to <strong>access navigation prop from navigationOpstions with funcional components</strong>.</p>
  
  <p>Thats my code:</p>
  
  <pre><code>import React from 'react'
  import { StatusBar, TouchableOpacity, Text } from "react-native"
  import { Container } from "./styles"
  import HomeHeader from "./Header"
  import HomeBody from "./Body"
  import HomeFooter from "./Footer"
  
  import Icon from "react-native-vector-icons/AntDesign"
  
  import CoBrandConfig from "../../../config/CoBrand/config"
  
  export default function Perfil ({ navigation }, props) {
  
    return(
      &lt;Container&gt;
        &lt;StatusBar barStyle={`${CoBrandConfig.Home.HOME_STATUSBAR_CONTENT}`}
          backgroundColor={CoBrandConfig.Home.HOME_STATUSBAR_COLOR} /&gt;
        &lt;TouchableOpacity onPress={() =&gt; navigation.navigate("PerfilEditar")}&gt;
          &lt;Text&gt;EDITAR&lt;/Text&gt;
        &lt;/TouchableOpacity&gt;
        &lt;HomeHeader /&gt;
        &lt;HomeBody /&gt;
        &lt;HomeFooter /&gt;
      &lt;/ Container&gt;
    )
  }
  
  Perfil.navigationOptions = {
    headerLeft: &lt;Icon.Button name={"menuunfold"} size={24} color={"#f2f2f2"} backgroundColor={"#229182"}
    onPress={() =&gt; this.navigation.navigate(openDrawer)}/&gt;,
  }
  </code></pre>