/*
 * @Author       : dxy
 * @Date         : 2021-01-25 18:46:16
 * @LastEditors  : dxy
 * @LastEditTime : 2021-01-26 14:31:05
 * @Descripttion :
 */
// @ts-ignore
import React from 'react';

var pagePluginRenderWrapper = function pagePluginRenderWrapper(props) {
  var name = props.name,
      PluginComponent = props.pluginComponent;
  return {
    name: "pb-render-page-element-".concat(name),
    type: 'pb-render-page-element',
    elementType: name,
    render: function render(props) {
      return /*#__PURE__*/React.createElement(PluginComponent, props);
    }
  };
};

export default pagePluginRenderWrapper;
//# sourceMappingURL=renderPluginsWrapper.js.map