antd-v4-compatible-form
Version:
antd@4.x form,用于 antd@3.x
16 lines (15 loc) • 445 B
TypeScript
import * as React from 'react';
import { ColProps } from 'antd/lib/col';
import { FormLabelAlign } from './interface';
export interface FormItemLabelProps {
colon?: boolean;
htmlFor?: string;
label?: React.ReactNode;
labelAlign?: FormLabelAlign;
labelCol?: ColProps;
}
declare const FormItemLabel: React.FC<FormItemLabelProps & {
required: boolean;
prefixCls: string;
}>;
export default FormItemLabel;