import * as React from 'react'; import { Card } from 'antd'; import { ColProps, RowProps } from 'antd/lib/grid'; import { Props as FieldProps } from './Field'; export declare type Props = { /** * Group 包装器 */ wrapper?: any; /** * 包装容器 props */ wrapperProps?: any; /** * 初始值 */ initialValue?: any; /** * 字段信息 */ fields: Array; fieldProps?: FieldProps; row?: RowProps; col?: ColProps; } & { [key: string]: any; }; /** * 表单字段组 * @author 田尘殇Sean(sean.snow@live.com) create at 2018/7/28 */ export declare class FieldGroup extends React.Component { static defaultProps: { wrapper: typeof Card; bordered: string; }; /** * 生成 表单col * @param type field type */ generateFieldCol(type: any): any; render(): JSX.Element; }