1 | import * as React from 'react';
|
2 | import type { ColProps } from '../grid/col';
|
3 | import type { TooltipProps } from '../tooltip';
|
4 | import type { RequiredMark } from './Form';
|
5 | import type { FormLabelAlign } from './interface';
|
6 | export type WrapperTooltipProps = TooltipProps & {
|
7 | icon?: React.ReactElement;
|
8 | };
|
9 | export type LabelTooltipType = WrapperTooltipProps | React.ReactNode;
|
10 | export interface FormItemLabelProps {
|
11 | colon?: boolean;
|
12 | htmlFor?: string;
|
13 | label?: React.ReactNode;
|
14 | labelAlign?: FormLabelAlign;
|
15 | labelCol?: ColProps;
|
16 | requiredMark?: RequiredMark;
|
17 | tooltip?: LabelTooltipType;
|
18 | }
|
19 | declare const FormItemLabel: React.FC<FormItemLabelProps & {
|
20 | required?: boolean;
|
21 | prefixCls: string;
|
22 | }>;
|
23 | export default FormItemLabel;
|