title: React Navigation (V2): How to set the Icon and the label of a stack Navigator inside a Drawer Navigator?
body: <p>I'm trying to customize my StackNavigator within my DrawerNavigator.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>const HomeStack = createStackNavigator(
    {
      HomeScreen,
      HomeDetailScreen,
      InteriorScreen,
      InteriorDetailScreen
    },
    {
      initialRouteName: "HomeScreen",
      navigationOptions: {
        headerTitleStyle: {
          color: headerColor
        },
        headerBackTitleStyle: {
          color: headerColor
        },
        headerTintColor: headerColor
      }
    }
  
  const MainStack = createStackNavigator(
    {
      HomeStack,
      ChooseLocationScreen,
      FilterHomesScreen
    },
    {
      initialRouteName: "HomeStack",
      mode: "modal",
      navigationOptions: ({ navigation }) =&gt; {
        const options = {
          headerTitleStyle: {
            color: headerColor
          },
          headerBackTitleStyle: {
            color: headerColor
          },
          headerTintColor: headerColor,
          drawerLabel: SCREEN_TEXT_HOME_HEADER,
          drawerIcon: ({ tintColor }) =&gt; (
            &lt;Image
              source={require("../assets/icons/home.png")}
              resizeMode="contain"
              style={{ width: 20, height: 20, tintColor: tintColor }}
            /&gt;
          )
        };
        if (navigation.state.routeName === "HomeStack") options["header"] = null;
        return options;
      }
    }
  );
  
  const MainDrawer = createDrawerNavigator(
    { MainStack },
    {
      initialRouteName: "MainStack",
      drawerBackgroundColor: backgroundColor,
      contentOptions: {
        inactiveTintColor: headerColor,
        activeTintColor: activeTintColor
      }
    }
  );
  </code></pre>
  
  <p>My problem is, that within the DrawerNavigator, the item still just says "MainStack". But I would like it to say "Home" (which is the value of <code>SCREEN_TEXT_HOME_HEADER</code>) and I would like it to have the "home.png" icon. As you can see, I tried to change the navigation options <a href="https://reactnavigation.org/docs/en/drawer-based-navigation.html" rel="nofollow noreferrer">according to the docs</a>, but it somehow doesn't work. How can I achieve the correct icon and label?</p>