How extend React types to support html attributes as props : <p>Given a component that takes custom props as well as html attribute props, how should the interface for such a component be created? Ideally, the interface would also handle react-specific html props such as using <code>className</code> instead of <code>class</code>.</p>

<p>Usage example for which I'm trying to find the right interface:</p>

<pre><code>&lt;MyComponent customProp='value' style={{textAlign: 'center'}}  /&gt;
</code></pre>
