You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.1 KiB
26 lines
1.1 KiB
import React from 'react';
|
|
declare type InputRef = HTMLInputElement | HTMLTextAreaElement;
|
|
interface InputProps {
|
|
prefixCls: string;
|
|
id: string;
|
|
inputElement: React.ReactElement;
|
|
disabled: boolean;
|
|
autoFocus: boolean;
|
|
autoComplete: string;
|
|
editable: boolean;
|
|
accessibilityIndex: number;
|
|
value: string;
|
|
open: boolean;
|
|
tabIndex: number;
|
|
/** Pass accessibility props to input */
|
|
attrs: object;
|
|
onKeyDown: React.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
|
onMouseDown: React.MouseEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
|
onChange: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
|
onPaste: React.ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
|
onCompositionStart: React.CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
|
onCompositionEnd: React.CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLElement>;
|
|
}
|
|
declare const RefInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>>;
|
|
export default RefInput;
|