diff --git a/components/input/inputProps.ts b/components/input/inputProps.ts index 19933f45c..01f9a7509 100644 --- a/components/input/inputProps.ts +++ b/components/input/inputProps.ts @@ -93,8 +93,8 @@ export interface ShowCountProps { const textAreaProps = () => ({ ...omit(inputProps(), ['prefix', 'addonBefore', 'addonAfter', 'suffix']), rows: Number, - autosize: { type: [Boolean, Object] as PropType, default: undefined }, - autoSize: { type: [Boolean, Object] as PropType, default: undefined }, + autosize: { type: [Boolean, Object] as PropType, default: undefined }, + autoSize: { type: [Boolean, Object] as PropType, default: undefined }, onResize: { type: Function as PropType<(size: { width: number; height: number }) => void> }, onCompositionstart: Function as PropType, onCompositionend: Function as PropType,