tk-eui-plus
Version:
35 lines (34 loc) • 743 B
JavaScript
import { resolveComponent as s, openBlock as a, createBlock as l, normalizeProps as _, guardReactiveProps as p, withCtx as n, renderSlot as c } from "vue";
const v = (t, e) => {
const o = t.__vccOpts || t;
for (const [r, i] of e)
o[r] = i;
return o;
}, f = {};
function m(t, e) {
const o = s("el-switch");
return a(), l(
o,
_(p(t.$attrs)),
{
"active-action": n(() => [
c(t.$slots, "active-action")
]),
"inactive-action": n(() => [
c(t.$slots, "inactive-action")
]),
_: 3
/* FORWARDED */
},
16
/* FULL_PROPS */
);
}
const d = /* @__PURE__ */ v(f, [["render", m]]), k = {
install(t) {
t.component("tkSwitch", d);
}
};
export {
k as default
};