1 | import * as React from 'react';
|
2 | import { ColProps } from '../grid/col';
|
3 | import { ValidateStatus } from './FormItem';
|
4 | interface FormItemInputMiscProps {
|
5 | prefixCls: string;
|
6 | children: React.ReactNode;
|
7 | errors: React.ReactNode[];
|
8 | hasFeedback?: boolean;
|
9 | validateStatus?: ValidateStatus;
|
10 | onDomErrorVisibleChange: (visible: boolean) => void;
|
11 |
|
12 | _internalItemRender?: {
|
13 | mark: string;
|
14 | render: (props: FormItemInputProps & FormItemInputMiscProps, domList: {
|
15 | input: JSX.Element;
|
16 | errorList: JSX.Element;
|
17 | extra: JSX.Element | null;
|
18 | }) => React.ReactNode;
|
19 | };
|
20 | }
|
21 | export interface FormItemInputProps {
|
22 | wrapperCol?: ColProps;
|
23 | help?: React.ReactNode;
|
24 | extra?: React.ReactNode;
|
25 | status?: ValidateStatus;
|
26 | }
|
27 | declare const FormItemInput: React.FC<FormItemInputProps & FormItemInputMiscProps>;
|
28 | export default FormItemInput;
|