类型说明补充

This commit is contained in:
2betop 2020-07-09 13:11:38 +08:00
parent c3cf194553
commit bd7930a216

View File

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