/** * @file form-item 组件 * @author fuqiangqiang@baidu.com */ import Base from 'santd/base'; import Row from '../row'; import Col from '../col'; import Icon from '../icon'; import { FormItemProps as Props, FormItemState as State, FormItemComputed as Computed } from './interface'; type Messages = { 'UI:form-item-interact': (this: FormItem, payload: { target: unknown; value: { fieldValue: any; type: string; e?: unknown; }; }) => void; }; export type TFormItem = typeof FormItem; export default class FormItem extends Base, Computed> { static components: { 's-row': typeof Row; 's-col': typeof Col; 's-icon': typeof Icon; }; static computed: Computed; static messages: Messages; static template: string; initData(): State; inited(): void; attached(): void; detached(): void; } export {};