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