@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
24 lines (23 loc) • 489 B
JavaScript
import { defineComponent as o, openBlock as r, createBlock as a, Teleport as l, renderSlot as n } from "vue";
const s = /* @__PURE__ */ o({
name: "Portal",
__name: "portal",
props: {
to: {
type: String,
default: ""
}
},
setup(e) {
return (t, d) => (r(), a(l, {
to: e.to || "body",
disabled: !e.to
}, [
n(t.$slots, "default")
], 8, ["to", "disabled"]));
}
});
export {
s as default
};
//# sourceMappingURL=portal.vue2.mjs.map