/*
 * @Author: your name
 * @Date: 2021-09-10 11:24:57
 * @LastEditTime: 2021-09-14 15:21:24
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/components/antdProOverwrite/MccsProForm/index.tsx
 */


import React from 'react'
import ProForm from '@ant-design/pro-form';


type MccsProFormProps = Record<string, any>
// 使用方式参考 antd pro
const MccsProForm: React.FC<MccsProFormProps> =(props)=>{
    const {children} = props;
    return (
        <ProForm 
           {...props} 
           submitter={{
            render:()=>null  
           }}
        >
               {children}
        </ProForm>
    )
}

export default MccsProForm