import React from 'react'; import { NamePath } from 'antd/lib/form/interface'; interface Props { type: string; component: React.ReactElement; value: any; onChange: any; disabled: any; confirm: any; fieldProps: any; contextProps: any; before?: React.ReactNode; after?: React.ReactNode; name?: NamePath; valueType: string; valuePropName?: string; isView?: boolean; getValueProps?: (value: any) => Record; viewRender?: (props: any) => any; formItemClassName?: string; formItemStyle?: React.CSSProperties; dependencies?: NamePath[]; required?: boolean; rules?: any[]; } /** 渲染组件 */ declare const ComRender: React.FC; export default ComRender;