import { IFormItemContext } from "@leight-core/leight"; import { FormItemProps } from "antd"; import { NamePath } from "rc-field-form/lib/interface"; import { FC } from "react"; export interface IFormItemProps extends Partial { /** * Field name; also used for translations. */ field: NamePath; /** * Attach required validation rule? */ required?: boolean; /** * Show Antd Form.Item label. */ showLabel?: boolean; /** * Disable default Antd Form.Item margin. */ noMargin?: boolean; labels?: string[] | string; hasTooltip?: boolean; onNormalize?(value: any, formItemContext: IFormItemContext): void; } export declare const FormItem: FC;