import { CSSProperties, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react'; export type InnerCompPropsInfo = { formConf?: any; } & T; export type CompDefaultPropsInfo = { /** * @description 组件id */ id?: string; /** * @description 表单项的配置 */ config?: R; /** * @description 重写config配置信息 */ setConfig?: (config: R) => R; /** * @description UI元数据的路径 */ confKey?: Array; formStyle?: CSSProperties; style?: CSSProperties; size?: 'small' | 'middle' | 'large' | undefined; compact?: boolean; className?: any; onLoad?: () => void; initSc?: any; formConf?: any; disabledNotify?: boolean; } & InnerCompPropsInfo; export type InnerComp = ForwardRefExoticComponent & RefAttributes>; export type CompHocProps = CompDefaultPropsInfo & CompProps;