import React from 'react'; import { FormContextProps } from '../utils'; import type { FormLayout } from 'antd/lib/form/Form'; export interface FormProps { disabled: boolean; layout: FormLayout; colSpan: FormContextProps['colSpan']; labelCol: number; wrapperCol: number; colon: boolean; labelAlign: FormContextProps['labelAlign']; extendProps?: Record; backgroundType?: any; style: React.CSSProperties; rowSpace: FormContextProps['rowSpace']; colSpace: FormContextProps['colSpace']; onValuesChange: (name: string, value: unknown) => void; formCode?: string; readOnly?: boolean; visible?: boolean; className?: string; _innerDynamicDataContainer?: boolean; /** * 是否一直展示标题(零代码使用,表单内包裹view然后再包裹表单控件,需要展示标题) */ isShowTitle?: boolean; /** * label是否换行 */ labelWrap?: boolean; /** * 查询表单按钮容器 */ QueryFormView?: JSX.Element; /** * 折叠字段 */ foldFields?: string[]; /** * 表单项尺寸 */ size?: 'small' | 'middle' | 'large'; } export declare const ViewFormItem: (props: any) => JSX.Element; declare type FormChildrenType = Pick & { children?: React.ReactNode; formRef?: any; engineApis?: any; }; export declare const FormChildren: (props: FormChildrenType) => JSX.Element; declare const Form: React.ForwardRefExoticComponent>; export default Form;