title: JSX element class does not support attributes because it does not have a 'props' property
body: <p>I am using <code>&quot;react&quot;: &quot;16.11.0&quot;,</code>. On old source code using <code>.js</code> extension but after I changed to <code>.tsx</code> and got error as below on Visual Code.</p>
  <pre><code>JSX element class does not support attributes because it does not have a 'props' property
  </code></pre>
  <p><a href="https://i.stack.imgur.com/DALZH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DALZH.png" alt="enter image description here" /></a></p>
  <p>Any help!</p>