title: How to add Icons to navigation drawer
body: <p>I know how to add Icons to a custom drawer navigation, I wonder if there is any way to add icons directly to <code>&lt;/Drawer.Navigator&gt;</code> or <code>&lt;Drawer.Screen/&gt;</code>?</p>
  
  <p>For example this is my code:</p>
  
  <pre><code>const MyDrawer=()=&gt;{
  
  const Drawer=createDrawerNavigator();
  
  return(
  
  &lt;NavigationContainer&gt;
    &lt;Drawer.Navigator
    initialRouteName='Main Page'
    &gt;
  
  &lt;Drawer.Screen  name='Main Page' component={MainFunc} /&gt;
  
  
  &lt;/Drawer.Navigator&gt;
  
  &lt;/NavigationContainer&gt;
  )
  </code></pre>