MCPcopy Create free account
hub / github.com/react-component/select / InputProps

Interface InputProps

src/Selector/Input.tsx:9–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7type InputRef = HTMLInputElement | HTMLTextAreaElement;
8
9interface InputProps {
10 prefixCls: string;
11 id: string;
12 inputElement: React.ReactElement;
13 disabled: boolean;
14 autoFocus: boolean;
15 autoComplete: string;
16 editable: boolean;
17 activeDescendantId?: string;
18 value: string;
19 maxLength?: number;
20 open: boolean;
21 tabIndex: number;
22 /** Pass accessibility props to input */
23 attrs: Record<string, unknown>;
24
25 onKeyDown: React.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
26 onMouseDown: React.MouseEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
27 onChange: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
28 onPaste: React.ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
29 onBlur: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
30 onCompositionStart: React.CompositionEventHandler<
31 HTMLInputElement | HTMLTextAreaElement | HTMLElement
32 >;
33 onCompositionEnd: React.CompositionEventHandler<
34 HTMLInputElement | HTMLTextAreaElement | HTMLElement
35 >;
36}
37
38const Input: React.ForwardRefRenderFunction<InputRef, InputProps> = (props, ref) => {
39 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…