import React from 'react'; import { FormComponentProps, FormItemProps } from 'antd/lib/form'; import { GetFieldDecoratorOptions } from 'antd/lib/form/Form'; interface IFormItem { placeholder?: string; key: string; name: string; required: boolean; requiredMsg?: string; options?: GetFieldDecoratorOptions; config?: FormItemProps; style?: React.CSSProperties; render?: (data: IFormItem) => React.ReactNode; } declare const _default: (modalInfo: Record, formItems: IFormItem[], getFieldDecorator: FormComponentProps['form']['getFieldDecorator']) => JSX.Element[]; export default _default;