UNPKG

yanzhen-design-vue

Version:

19 lines (18 loc) 605 B
import { defineAsyncComponent, defineComponent as defineComponent$1, h, renderSlot } from "vue"; import { defineComponent, withInstall } from "@yanzhen-lowcode/core"; import antInputProps from "ant-design-vue/es/input/inputProps"; const Wrapper = defineComponent("wrapper", { props: antInputProps(), component: defineAsyncComponent(async () => { return defineComponent$1({ setup(props, { slots }) { return () => h("div", renderSlot(slots, "default")); } }); }) }); const YzSchemaWrapper = withInstall(Wrapper); export { YzSchemaWrapper, YzSchemaWrapper as default };