import { defineComponent, createBlock, openBlock, resolveDynamicComponent } from 'vue';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "RenderComp"
  },
  __name: "renderComp",
  props: {
    render: Function,
    form: Object
  },
  setup(__props) {
    const props = __props;
    const renderComponent = () => {
      return props.render(props?.form);
    };
    return (_ctx, _cache) => {
      return openBlock(), createBlock(resolveDynamicComponent(renderComponent));
    };
  }
});

export { _sfc_main as default };
