How to make image buttons in JSX?
<p>This doesn't display an image, but still works as a button.</p>

<pre><code>&lt;button&gt;&lt;img src={"./img/google.png"} /&gt;&lt;/button&gt;
</code></pre>

<p>My folder setup is /user/img/google.png and /user/loginGoogle.jsx , so I don't think there is a problem with source</p>