17 lines
307 B
JavaScript
17 lines
307 B
JavaScript
var _ref =
|
|
/*#__PURE__*/
|
|
<span>Sub Component</span>;
|
|
|
|
class Component extends React.Component {
|
|
constructor(...args) {
|
|
var _temp;
|
|
|
|
var _ref2 =
|
|
/*#__PURE__*/
|
|
<this.subComponent />;
|
|
|
|
return _temp = super(...args), this.subComponent = () => _ref, this.render = () => _ref2, _temp;
|
|
}
|
|
|
|
}
|