title: React Navigation Drawer contentComponent communicate with screen
body: <p>I using React Navigation Drawer with the custom content component. 
  Below is my code to create Drawer Navigation:</p>
  
  <pre><code>import { Dimensions } from 'react-native';
  import { createDrawerNavigator, createAppContainer } from 'react-navigation';
  
  import DrawerContent from '../components/drawer/DrawerContent'
  import MainScreen from '../layout/MainScreen';
  
  const MyDrawerNavigator = createDrawerNavigator({
      MainDrawer: {
          screen: MainScreen
      },
  },
      {
          initialRouteName: 'MainDrawer',
          contentComponent: DrawerContent,
          drawerWidth: Dimensions.get('window').width / 1.5,
          drawerPosition: 'left',
          gesturesEnabled: false,
      }
  );
  
  export default createAppContainer(MyDrawerNavigator);
  
  
  </code></pre>
  
  <p>In the DrawerContent, I created the component and it has more item in there.</p>
  
  <pre><code>export default class DrawerContent extends Component {
  
      onClickDrawerItems(type) {
          if (type == "Logout") {
  
              //I want to send a call back to MainScreen for showing a dialog           
  
          }
      }
  
      render() {
          return (
              &lt;View style={Styles.drawerContainer}&gt;
                  {/* Header Drawer */}
                  &lt;ImageBackground
                      resizeMode='cover'
                      source={Assets.Image.im_logo_prasac}
                      style={Styles.headerDrawerImageBackground}&gt;
                      &lt;View style={Styles.headerBackgroundOverlay}&gt;
                          ............
                      &lt;/View&gt;
                  &lt;/ImageBackground&gt;
  
                  &lt;ItemsDrawer
                      icon={Assets.Icon.ic_logout}
                      title={Strings.DrawerItems.logout}
                      onClick={() =&gt; this.onClickDrawerItems("Logout")} /&gt;
  
              &lt;/View&gt;
          );
      } 
  }
  
  </code></pre>
  
  <p>Inside my onClickDrawerItems function, how can I send a call back to MianScreen for showing a dialog for logout</p>