This commit is contained in:
2betop 2020-06-15 15:57:12 +08:00
parent 21ef418438
commit 2fa6874bac

View File

@ -6,7 +6,7 @@ import {Icon} from './icons';
export interface InputBoxProps
extends ThemeProps,
Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'onChange'> {
Omit<React.DOMAttributes<HTMLInputElement>, 'prefix' | 'onChange'> {
value?: string;
onChange?: (value: string) => void;
onClear?: (e: React.MouseEvent<any>) => void;