Optional JSX Props In a TSX/JSX Project : <p>I have a React project that I'm converting from JS to TS. An issue I'm running into is that TSX React is assuming that all properties defined in a functional component are required props.</p>

<pre><code>// ComponentA.tsx
class ComponentA extends React.Component&lt;any, any&gt; {
  render() {
    /* Type '{ equalWidth: true; children: Element[]; }' is not assignable to type '{ children: any; className: any; equalWidth: any; }'.
     * Property 'className' is missing in type '{ equalWidth: true; children: Element[]; }'.' */
    return &lt;ComponentB equalWidth /&gt;
  }
}
</code></pre>

<p>and</p>

<pre><code>// ComponentB.js
const ComponentB = ({ children, className, equalWidth }) =&gt; {
  return (...)
}
</code></pre>

<p>is there a way to signal to TS that JSX component props are all optional?</p>
