/** * 请在 /packages/pandora-ui/src/index.ts 中导入该组件 */ import React, { CSSProperties } from 'react'; import { type ClassValue } from '../../utils/cx'; import { type SizeType } from '../config-provider'; import { ControllerProps as ReactHookFormControllerProps, RegisterOptions } from 'react-hook-form'; interface FormItemProps extends Omit { name?: string; className?: ClassValue; size?: SizeType; style?: CSSProperties; tooltip?: any; label?: any; children?: any; rules?: Omit & { [propName: string]: any; }; isRequired?: boolean; labelWidth?: string | number; description?: React.ReactElement; mode?: 'vertical' | 'horizontal'; } declare const FormItem: React.FC; export default FormItem;