UNPKG

@schema-render/form-render-react

Version:

Out-of-the-box form rendering library based on Core and Antd.

17 lines (16 loc) 491 B
import { jsx as _jsx } from "react/jsx-runtime"; import { RendererIterator } from "@schema-render/core-react"; /** * 只渲染子节点,无对象结构界面,应用场景:步骤表单 */ const ObjectNull = ({ schema, path, objectStyle })=>{ return /*#__PURE__*/ _jsx("div", { style: objectStyle, children: /*#__PURE__*/ _jsx(RendererIterator, { schema: schema, path: path }) }); }; export default { formItem: ObjectNull };