()
| 49 | private _body: ReactNode; |
| 50 | |
| 51 | get body() { |
| 52 | if (this.inited) { |
| 53 | return this._body; |
| 54 | } |
| 55 | this.inited = true; |
| 56 | const { content, contentProps } = this.config; |
| 57 | this._body = createContent(content, { |
| 58 | ...contentProps, |
| 59 | config: this.config, |
| 60 | editor: getEvent(this.skeleton.editor), |
| 61 | }); |
| 62 | return this._body; |
| 63 | } |
| 64 | |
| 65 | get content(): ReactNode { |
| 66 | return createElement(WidgetView, { |
nothing calls this directly
no test coverage detected