title: react-native-google-places-autocomplete unable to resolve module `path/custom/left-icon`
body: <p>I'm unable to use react native autocomplete npm package and i have been getting this error "react-native-google-places-autocomplete unable to resolve module <code>path/custom/left-icon</code> "
  I'm using react Native V0.44.0 
  what am i doing wrong?</p>
  
  <p><a href="https://i.stack.imgur.com/0IVT6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0IVT6.png" alt="simulator error"></a></p>
  
  <pre><code>import React from 'react';
  import { View, Image } from 'react-native';
  import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete';
  
  const homePlace = { description: 'Home', geometry: { location: { lat: 48.8152937, lng: 2.4597668 } }};
  const workPlace = { description: 'Work', geometry: { location: { lat: 48.8496818, lng: 2.2940881 } }};
  
  const GooglePlacesInput = () =&gt; {
    return (
      &lt;GooglePlacesAutocomplete
        placeholder='Search'
        minLength={2} 
        autoFocus={false}
        returnKeyType={'search'}
        listViewDisplayed='auto'    
        fetchDetails={true}
        renderDescription={(row) =&gt; row.description} 
        onPress={(data, details = null) =&gt; { 
          console.log(data);
          console.log(details);
        }}
        getDefaultValue={() =&gt; {
          return ''; 
        }}
        query={{
  
          key: 'YOUR API KEY',
          language: 'en', 
          types: '(cities)' 
        }}
        styles={{
          description: {
            fontWeight: 'bold'
          },
          predefinedPlacesDescription: {
            color: '#1faadb'
          }
        }}
  
        currentLocation={true} 
        currentLocationLabel="Current location"
        nearbyPlacesAPI='GooglePlacesSearch' 
        GoogleReverseGeocodingQuery={{
  
        }}
        GooglePlacesSearchQuery={{
  
          rankby: 'distance',
          types: 'food'
        }}
  
        filterReverseGeocodingByTypes={['locality', 'administrative_area_level_3']} 
        predefinedPlaces={[homePlace, workPlace]}
  
        debounce={200} 
        renderLeftButton={() =&gt; &lt;Image source={require('path/custom/left-icon')} /&gt;}
        renderRightButton={() =&gt; &lt;Text&gt;Custom text after the inputg&lt;/Text&gt;}
      /&gt;
    );
  }
  </code></pre>