renderPreview() {
    const { previewComponent, previewProps } = this.props;
    return (
      <div onClick={this.handleClick}>
        {isElement(previewComponent)
          ? React.cloneElement(previewComponent, previewProps)
          : React.createElement(previewComponent, previewProps)}
      </div>
    );
  }
PreviewContent renders the preview component and optionally handles visual editing interactions.
By default it uses scroll sync, but can be configured to use visual editing instead.