类型说明补充

This commit is contained in:
2betop 2020-07-09 13:11:38 +08:00
parent ca081be498
commit 131ff9de6e

View File

@ -8,6 +8,7 @@ export interface InputBoxProps
extends ThemeProps, extends ThemeProps,
Omit<React.DOMAttributes<HTMLInputElement>, 'prefix' | 'onChange'> { Omit<React.DOMAttributes<HTMLInputElement>, 'prefix' | 'onChange'> {
value?: string; value?: string;
readOnly: boolean;
onChange?: (value: string) => void; onChange?: (value: string) => void;
onClear?: (e: React.MouseEvent<any>) => void; onClear?: (e: React.MouseEvent<any>) => void;
clearable?: boolean; clearable?: boolean;