'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "RenderCol"
  },
  __name: "renderCol",
  props: {
    row: Object,
    render: Function,
    index: Number,
    column: {
      type: Object,
      default: null
    }
  },
  setup(__props) {
    const props = __props;
    const renderComponent = () => {
      return props.render(props?.row[props?.column?.prop], props.row, props.index);
    };
    return (_ctx, _cache) => {
      return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderComponent));
    };
  }
});

exports.default = _sfc_main;
