"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
module.exports = void 0;
var _vue = require("vue");
var _default = (0, _vue.defineComponent)({
  props: {
    /**
     * The primitive or render function to render.
     * @type String | Number | Boolean | RenderFunction
     * @default
     * @name data
     */
    data: {
      type: [String, Number, Boolean, Function],
      required: true
    },
    /**
     * The tag to use for rendering primitives
     * @type String
     * @default div
     * @name tag
     */
    tag: {
      type: String,
      default: "div"
    }
  },
  setup(props) {
    return () => typeof props.data === "function" ? props.data() : (0, _vue.h)(props.tag, props.data);
  }
});
module.exports = _default;