title: How to open an <input type="file"/> with a button click in React
body: <p>How can I open an file input with a button click ? My code :</p>
  <pre><code>&lt;Button variant=&quot;outlined&quot;&gt;
        Choose Image
      &lt;/Button&gt;
       &lt;input
        type=&quot;file&quot;
        id=&quot;input_file&quot;
        accept=&quot;.jpg,.jpeg,.png&quot;
        style={{ display: 'none' }}
       /&gt;
  </code></pre>