"use strict";
const vue = require("vue");
const _sfc_main = vue.defineComponent({
  name: "ConditionalWrapper",
  inheritAttrs: false,
  props: {
    tag: {
      type: String,
      default: "div"
    },
    skip: {
      type: Boolean,
      required: true
    }
  },
  slots: Object,
  setup(props, { slots, attrs }) {
    return () => props.skip ? slots.default?.({}) : vue.h(props.tag, { ...attrs }, [slots.default?.({})]);
  }
});
exports._sfc_main = _sfc_main;
//# sourceMappingURL=ConditionalWrapper.vue_vue_type_script_lang-CFfEbslT.js.map
