Files
video-gen/video-gen-admin/node_modules/antd/es/form/FormItemLabel.d.ts
T
2026-05-25 17:08:18 +08:00

23 lines
699 B
TypeScript

import * as React from 'react';
import type { ColProps } from '../grid/col';
import type { TooltipProps } from '../tooltip';
import type { FormLabelAlign } from './interface';
export type FormTooltipProps = TooltipProps & {
icon?: React.ReactElement;
};
export type FormItemTooltipType = FormTooltipProps | React.ReactNode;
export interface FormItemLabelProps {
colon?: boolean;
htmlFor?: string;
label?: React.ReactNode;
labelAlign?: FormLabelAlign;
labelCol?: ColProps;
tooltip?: FormItemTooltipType;
vertical?: boolean;
}
declare const FormItemLabel: React.FC<FormItemLabelProps & {
required?: boolean;
prefixCls: string;
}>;
export default FormItemLabel;