mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
27 lines (26 loc) • 725 B
JavaScript
import { defineComponent as a, useSlots as l, watch as c, createElementBlock as i, openBlock as p, normalizeStyle as f } from "vue";
import { useHandler as m } from "./hooks.js";
/*!
* mine-h5-ui v2.15.0
* Copyright (c) 2025 biaov
* @license MIT
*/
const z = /* @__PURE__ */ a({
name: "MeSpace",
__name: "index",
props: {
size: { default: "10px" },
direction: { default: "horizontal" }
},
setup(e) {
const t = e, o = l(), { spaceRef: n, onRender: r } = m(t);
return c(o.default, r, { immediate: !0 }), (s, d) => (p(), i("div", {
ref_key: "spaceRef",
ref: n,
style: f(`--size:${s.size};`)
}, null, 4));
}
});
export {
z as default
};