Subcomponent in React ES6
<p>I know that in Past version of React we can make subcomponent like this.</p>

<pre><code>var MyFormComponent = React.createClass({ ... });

MyFormComponent.Row = React.createClass({ ... });
MyFormComponent.Label = React.createClass({ ... });
MyFormComponent.Input = React.createClass({ ... });
</code></pre>

<p>But i want to know how we can create subcomponent in React ES6.
is it using  syntax like</p>

<pre><code>class Row Extends MyFormComponent , Component {}
</code></pre>

<p>or is there other way round for this approach?</p>