1 | import * as React from 'react';
|
2 | type InputRef = HTMLInputElement | HTMLTextAreaElement;
|
3 | interface InputProps {
|
4 | prefixCls: string;
|
5 | id: string;
|
6 | inputElement: React.ReactElement;
|
7 | disabled: boolean;
|
8 | autoFocus: boolean;
|
9 | autoComplete: string;
|
10 | editable: boolean;
|
11 | activeDescendantId?: string;
|
12 | value: string;
|
13 | maxLength?: number;
|
14 | open: boolean;
|
15 | tabIndex: number;
|
16 |
|
17 | attrs: Record<string, unknown>;
|
18 | onKeyDown: React.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
19 | onMouseDown: React.MouseEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
20 | onChange: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
21 | onPaste: React.ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
22 | onCompositionStart: React.CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
23 | onCompositionEnd: React.CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
24 | }
|
25 | declare const RefInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>>;
|
26 | export default RefInput;
|