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