import React from 'react'; import type { FormItemProps, FormInstance } from 'antd'; import type { NamePath } from 'antd/es/form/interface'; interface CustomComponentViewWrapperProps { formItemProps: FormItemProps; internalItemRender?: any; className?: string; style?: React.CSSProperties; filterFormItemKey?: string[]; form: FormInstance; name?: NamePath; isView?: boolean; viewRender?: (value: any, record: any, options: { form: FormInstance; index?: any; namePath?: any; }) => React.ReactNode | string | null | undefined; originComponent?: React.ReactNode; viewEmpty?: React.ReactNode; otherProps?: any; component?: any; AutoComponent?: any; children: React.ReactNode; } /** * 自定义组件视图模式包装器 * 用于处理自定义组件在 isView 模式下的渲染逻辑 */ declare const CustomComponentViewWrapper: React.FC; export default CustomComponentViewWrapper;