import React from 'react'; import type { FormProps } from 'antd'; import { Form } from 'antd'; import Group from '../../components/Group'; import type { CommonFormProps } from '../../BaseForm'; import BaseForm from '../../BaseForm'; import ProFormItem from '../../components/FormItem'; export type ProFormProps> = Omit, 'onFinish'> & CommonFormProps; function ProForm>(props: ProFormProps) { return ( dom.reverse(), }} contentRender={(items, submitter) => { return ( <> {items} {submitter} ); }} {...props} /> ); } ProForm.Group = Group; ProForm.useForm = Form.useForm; ProForm.Item = ProFormItem; export default ProForm;