1
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
import * as React from 'react';
|
||||
export interface InputProps {
|
||||
id?: string;
|
||||
readOnly?: boolean;
|
||||
value?: string;
|
||||
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
||||
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
|
||||
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
||||
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
||||
placeholder?: string;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
maxLength?: number;
|
||||
/** width always match content width */
|
||||
syncWidth?: boolean;
|
||||
/** autoComplete for input */
|
||||
autoComplete?: string;
|
||||
}
|
||||
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
||||
export default Input;
|
||||
Reference in New Issue
Block a user