UNPKG

yanzhen-design-vue

Version:

25 lines (24 loc) 622 B
import { colProps as colProps$1 } from "ant-design-vue/es/grid/Col"; import { propsSeparate, buildProps, buildEmits } from "@yanzhen-libs/utils-vue"; import "../../../hooks/index.mjs"; import { useNamespace } from "../../../hooks/use-namespace/index.mjs"; const ns = useNamespace("col"); const colOptions = { ns, class: ns.b(), name: ns.defineVNodeName() }; const colName = colOptions.name; const AntCol = propsSeparate(colProps$1()); const colProps = buildProps({ ...AntCol.props, text: String }); const colEmits = buildEmits(AntCol.emits); export { AntCol, colEmits, colName, colOptions, colProps };