title: React-csv is not working inside react-bootstrap dropdown
body: <p>I have a business need which is as shown below
  <a href="https://i.stack.imgur.com/rW787.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rW787.png" alt="enter image description here"></a></p>
  
  <p>here i have used DropdownButton from react bootstrap to achive the above menu</p>
  
  <pre><code>&lt;span className="widget-controls" mr-eye-widget-type='Menu'&gt;
                      &lt;DropdownButton
                          alignRight
                          drop='down'
                          title="" className="download-CSV-button fa fa-ellipsis-v "&gt;
                          &lt;Dropdown.Item&gt;Testttt&lt;/Dropdown.Item&gt;
                          &lt;Dropdown.Item&gt;
                              &lt;CSVLink { ... switchRef } data={this.state.downloadData} asyncOnClick={true} headers={this.state.dowloadHeader} filename={this.state.downloaFileName}&gt;
                                  &lt;span className="csv-download" mr-eye-widget-type='DownloadButton' &gt;
                                      &lt;div className="fa fa-download listColor" &gt;
                                          &lt;span className="download-text"&gt;{widgetLabelConfig.englishConfig.Resource_Download_as_CSV}
                                          &lt;/span&gt;&lt;/div&gt;
                                  &lt;/span&gt;
                              &lt;/CSVLink&gt;
                          &lt;/Dropdown.Item&gt;
                      &lt;/DropdownButton&gt;
                  &lt;/span&gt;
  </code></pre>
  
  <p>and also here in the code one of the menu item is <strong><em>Testttt</em></strong> which is displaying where as second menu item has <strong><em>CSVLink</em></strong> which is a npm react-csv module for download this will not be render in the dom when i put it outside drop menu it works fine please let me know why is it failing when it is inside DropdownButton</p>