render()

in libs/core/src/lib/renderer/components/Disguise.ts [38:49]


  render() {
    const { disguiseRootAs, disguiseChildrenAs, children, ngChildComponents, ...rest } = this.props;
    const Root = disguiseRootAs || React.Fragment;

    const renderedChildren = ngChildComponents
      ? this._isReactContentOnlyChild()
        ? this._renderReactContentChildren()
        : this._renderChildrenNaive()
      : children;

    return React.createElement(Root, rest || null, renderedChildren);
  }