title: How to Set background image of DrawerNavigator in React-Native?
body: <p>I integrate DrawerNavigator in my project. its working fine, but there are no any property to set background image. How can I will add background image in DrawerNavigator.</p>
  
  <p><a href="https://reactnavigation.org/docs/navigators/drawer" rel="nofollow noreferrer"><strong>DrawerNavigator</strong></a></p>
  
  <p><strong>Code of DrawerNavigation</strong> </p>
  
  <pre><code>import { AppRegistry  , Dimensions} from 'react-native';
  
  import Library from './ViewControllers/Library';
  import Language from './ViewControllers/Language';
  import AboutUS from './ViewControllers/AboutUS';
  import Support from './ViewControllers/Support';
  import { DrawerNavigator } from 'react-navigation';
  
  const MyApp = DrawerNavigator({
    Library: {
      screen: Library,
    },
    Language: {
      screen: Language,
    },
    AboutUS: {
      screen: AboutUS,
    },
    Support: {
      screen: Support,
    },
  
  },{
        initialRouteName:'Library',
        drawerWidth: Dimensions.get('window').width / 2.0,
        drawerPosition: 'left',
        useNativeAnimations : false,
        drawerBackgroundColor : 'white',
        contentOptions: {
          activeTintColor: 'black',
          activeBackgroundColor : 'transparent',
          inactiveTintColor : 'black',
          itemsContainerStyle: {
            marginVertical: 0,
          },
          iconContainerStyle: {
            opacity: 1
          },
          itemStyle :{
            height : 50,
          }
  
        },
  
    }
  );
  
  
  
  AppRegistry.registerComponent('Basair', () =&gt; MyApp);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/9TWpI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9TWpI.png" alt="enter image description here"></a></p>