renderReactContent()

in src/plugin/index.tsx [140:153]


  renderReactContent() {
    if (
      isValidPluginReactElementType(this.content) &&
      !this.options._internal &&
      this.context !== defaultContext
    ) {
      const {location, contentPanel} = this.context
      this.reactRoot?.render(
        <ContentPanelContext.Provider value={contentPanel}>
          <this.content location={location} />
        </ContentPanelContext.Provider>,
      )
    }
  }