title: Use Bootstrap "prepend" with react-select
body: <p>I'm trying to use the Bootstrap input-group-prepend with react-select, however react-selects' styling doesn't seem to be the current bootstrap/reactstrap and so doesn't want to work together.</p>
  
  <p>The select box doesn't merge with the prepend element (radius 4px on all corners instead of just right corners), also the box shadow on the element is totally different to what bootstrap 4 uses, this creates an annoying consistency issue. </p>
  
  <p>This gives the desired look and feel, and stays the same when using .map for the options. </p>
  
  <pre><code>  &lt;InputGroup className="mb-3"&gt;
       &lt;InputGroupAddon addonType="prepend"&gt;
          &lt;InputGroupText&gt;&lt;FaBriefcaseMedical /&gt;&lt;/InputGroupText&gt;
       &lt;/InputGroupAddon&gt;
       &lt;Input type="select" name="select" id="ConsultantSelect"&gt;
          &lt;option value="" value disabled selected&gt;Select Consultant&lt;/option&gt;
          &lt;option&gt;Roland Deschain&lt;/option&gt;
          &lt;option&gt;2&lt;/option&gt;
          &lt;option&gt;3&lt;/option&gt;
          &lt;option&gt;4&lt;/option&gt;
          &lt;option&gt;5&lt;/option&gt;
       &lt;/Input&gt;
    &lt;/InputGroup&gt;
  </code></pre>
  
  <p>This however is using react-select doesn't display as expected/desired</p>
  
  <pre><code>&lt;InputGroup className="mb-3"&gt;
    &lt;InputGroupAddon addonType="prepend"&gt;
        &lt;InputGroupText&gt;&lt;FaHSquare /&gt;&lt;/InputGroupText&gt;
    &lt;/InputGroupAddon&gt;
    &lt;Select
      options={this.state.hospitals}
      name={this.state.hospitals}
    /&gt;                                            
  &lt;/div&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Y3smb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Y3smb.png" alt="enter image description here"></a></p>
  
  <p>Iconography is important for what I'm doing due to the target audience.
  EDIT:</p>
  
  <p>a janky work around is to give the react-select <code>className="form-control"</code> and then then style it to match Bootstrap4. </p>
  
  <pre><code>&lt;InputGroup className="mb-3"&gt;
    &lt;InputGroupAddon addonType="prepend"&gt;
       &lt;InputGroupText&gt;&lt;FaHSquare /&gt;&lt;/InputGroupText&gt;
    &lt;/InputGroupAddon&gt;
    &lt;Select className="form-control"
      options={this.state.hospitals}
      name={this.state.hospitals}
    /&gt;                                            
  &lt;/InputGroup&gt;
  
  .css-2b097c-container {
      padding: 0px;
  }
  
  .css-yk16xz-control {
      background-color: #ffffff00 !important;
      border-style: none !important;
  }
  
  .css-1pahdxg-control {
      border-color: #80bdff !important;
      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
      border-top-left-radius: 0 !important;
      border-bottom-left-radius: 0 !important;
  }
  </code></pre>
  
  <p>But this is clearly not a ideal solution. </p>
  
  <p>The CCS changes result in the below, which now has the drop down appearing the same as a normal select input, and also matches the other inputs such as the text inputs. </p>
  
  <p><a href="https://i.stack.imgur.com/PyEBQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PyEBQ.png" alt="enter image description here"></a></p>