|
|
@ -27,18 +27,18 @@ export interface InputProps extends AbstractInputProps { |
|
|
|
id?: number | string; |
|
|
|
name?: string; |
|
|
|
size?: 'large' | 'default' | 'small'; |
|
|
|
maxLength?: string; |
|
|
|
maxLength?: number; |
|
|
|
disabled?: boolean; |
|
|
|
readOnly?: boolean; |
|
|
|
addonBefore?: React.ReactNode; |
|
|
|
addonAfter?: React.ReactNode; |
|
|
|
onPressEnter?: React.FormEventHandler<any>; |
|
|
|
onKeyDown?: React.FormEventHandler<any>; |
|
|
|
onKeyUp?: React.FormEventHandler<any>; |
|
|
|
onPressEnter?: React.FormEventHandler<HTMLInputElement>; |
|
|
|
onKeyDown?: React.FormEventHandler<HTMLInputElement>; |
|
|
|
onKeyUp?: React.FormEventHandler<HTMLInputElement>; |
|
|
|
onChange?: React.ChangeEventHandler<HTMLInputElement>; |
|
|
|
onClick?: React.FormEventHandler<any>; |
|
|
|
onFocus?: React.FormEventHandler<any>; |
|
|
|
onBlur?: React.FormEventHandler<any>; |
|
|
|
onClick?: React.FormEventHandler<HTMLInputElement>; |
|
|
|
onFocus?: React.FormEventHandler<HTMLInputElement>; |
|
|
|
onBlur?: React.FormEventHandler<HTMLInputElement>; |
|
|
|
autoComplete?: string; |
|
|
|
prefix?: React.ReactNode; |
|
|
|
suffix?: React.ReactNode; |
|
|
|