import { Col, Row } from 'antd'; import React from 'react'; import { getComUi } from "../../FormComponent" import { getItemProps } from "../../utils" import schema from "./schema" const GroupWapper = (item: any) => { const data: any = getItemProps(schema, item) const { HeaderProps, ControlProps, FormItemProps } = data const { Content, style: ControlStyle } = ControlProps const { grid, style: FormItemStyle } = FormItemProps const { style: HeaderStyle, title } = HeaderProps return
{title || "标题"}
{Content?.map((item: any) => { return {getComUi({ ...item, componentType: 'FormItem' })} })}
; }; export default GroupWapper;