UNPKG

tms-vue3-ui

Version:

Vue3基础UI库,提供JSONSchema编辑器,支持基于JSONSchema生成表单。

24 lines (23 loc) 599 B
import { createVNode as n } from "vue"; function m(i) { i.component("tms-text", { props: { lines: { type: Number }, linesSm: { type: Number } }, render() { var s; let e = this.$slots, t = ["tms-text"]; return typeof this.lines == "number" && this.lines > 0 && t.push(`tms-text_lines_${this.lines}`), typeof this.linesSm == "number" && this.linesSm > 0 && t.push(`tms-text_lines-sm_${this.linesSm}`), n("div", { class: t }, [(s = e.default) == null ? void 0 : s.call(e)]); } }); } export { m as default };