UNPKG

@opensig/opendesign

Version:

19 lines (18 loc) 376 B
"use strict"; const vue = require("vue"); const HtmlTag = vue.defineComponent({ name: "HtmlTag", props: { tag: { type: String, default: "div" } }, setup(props, { slots, attrs }) { return () => { var _a; return vue.h(props.tag, attrs, (_a = slots.default) == null ? void 0 : _a.call(slots)); }; } }); module.exports = HtmlTag;