2018-01-30 16:35:23 -07:00
|
|
|
class Test extends React.Component<Foo> {
|
2018-02-06 12:52:25 -07:00
|
|
|
render() {
|
2018-01-30 16:35:23 -07:00
|
|
|
return (
|
|
|
|
<div className="class">
|
2018-02-06 12:52:25 -07:00
|
|
|
<h2 className= "anotherClass">
|
2018-01-30 16:35:23 -07:00
|
|
|
{this.foo.bar}
|
|
|
|
</h2>
|
2018-02-06 12:52:25 -07:00
|
|
|
{this.foo.bar.children}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2018-01-30 16:35:23 -07:00
|
|
|
}
|