title: Add an icon before the input element in react-select
body: <p>I am trying to add an icon in front of the input element of react select. I am able to get the icon in placeholder but the problem with a placeholder is that when I select some data from the dropdown the placeholder icon gets removed. I need some help to get the icon in front of the Select statement.</p>
  
  <p>Here's the code of what I have achieved till now</p>
  
  <pre><code>import React, { Component } from 'react'
  import Select, { components } from 'react-select'
  
  export default class InfluencersForm extends Component {
  
      constructor(){
          super();
          this.handleInfluencerName = this.handleInfluencerName.bind(this);
      }
      handleInfluencerName(event){
          console.log(event)
      }
      render() {
          const influencers = [
              { value: 'abc', label: 'abc' },
              { value: 'def', label: 'def' }
          ]
  
          const DropdownIndicator = (props) =&gt; {
              return components.DropdownIndicator &amp;&amp; (
                  &lt;components.DropdownIndicator {...props}&gt;
                      &lt;i className="fa fa-search" aria-hidden="true" style={{ position: 'initial' }}&gt;&lt;/i&gt;
                  &lt;/components.DropdownIndicator&gt;
              );
          };
          return (
              &lt;div&gt;
                  &lt;div&gt;
                      &lt;Select
                          options={influencers}
                          isMulti={false}
                          onChange={this.handleInfluencerName}
                          isSearchable={true}
                          components={{ DropdownIndicator }}
                          placeholder={placeholderComponent}
                          classNamePrefix="vyrill"/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          )
      }
  }
  
  const placeholderComponent = (
      &lt;div&gt;
          &lt;i className="fa fa-search" aria-hidden="true" style={{ position: 'initial' }}&gt;&lt;/i&gt;
          I am placeholder
      &lt;/div&gt;
  );
  </code></pre>