UNPKG

@ant-design/pro-utils

Version:
12 lines (11 loc) 347 B
import type { FormInstance } from 'antd'; /** * 因为 fieldProps 支持了 function 所以新增了这个方法 * * @param fieldProps * @param form */ export declare const getFieldPropsOrFormItemProps: (fieldProps: any, form?: FormInstance<any> | null, extraProps?: any) => Record<string, any> & { onChange: any; colSize: number; };