补充 Input 注释文档.

This commit is contained in:
liaoxuezhi 2019-11-15 12:37:16 +08:00
parent 993c9c7e77
commit ef798ae30c
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
/**
* @file Input input
* onChange autoComplete
*
*/
import React from 'react'; import React from 'react';
import {autobind} from '../utils/helper'; import {autobind} from '../utils/helper';
@ -60,4 +65,4 @@ class InputInner extends React.Component<InputProps, InputState> {
export default React.forwardRef<HTMLInputElement>((props, ref) => { export default React.forwardRef<HTMLInputElement>((props, ref) => {
return <InputInner {...props} forwardedRef={ref} />; return <InputInner {...props} forwardedRef={ref} />;
}) as React.ReactType<React.InputHTMLAttributes<HTMLInputElement>>; }) as React.ReactType<React.InputHTMLAttributes<HTMLInputElement>>;