UNPKG

yanzhen-design-vue

Version:

27 lines (26 loc) 762 B
import { defineComponent, openBlock, createBlock, unref, normalizeClass } from "vue"; import { useCol } from "./use-col.mjs"; import { colName, colProps, colEmits, colOptions } from "./col.mjs"; const _sfc_main = /* @__PURE__ */ defineComponent({ ...{ name: colName }, __name: "col", props: colProps, emits: colEmits, setup(__props, { expose: __expose, emit: __emit }) { const { ns } = colOptions; const props = __props; const emit = __emit; const [{ _ref }, Col] = useCol(props, emit); __expose({ ref: _ref }); return (_ctx, _cache) => { return openBlock(), createBlock(unref(Col), { class: normalizeClass([unref(ns).b()]) }, null, 8, ["class"]); }; } }); export { _sfc_main as default };