doc: Input.TextArea property allowClear add 'since', ref #19310

This commit is contained in:
yoyo837 2019-11-07 11:38:36 +08:00
parent 948a69c75e
commit 9e27697e93
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ The rest of the props of Input are exactly the same as the original [input](http
| defaultValue | The initial input content | string | | |
| value | The input content value | string | | |
| onPressEnter | The callback function that is triggered when Enter key is pressed. | function(e) | | |
| allowClear | allow to remove input content with clear icon | boolean | | |
| allowClear | allow to remove input content with clear icon | boolean | | 3.25.0 |
The rest of the props of `Input.TextArea` are the same as the original [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea).

View File

@ -47,7 +47,7 @@ Input 的其他属性和 React 自带的 [input](https://facebook.github.io/reac
| defaultValue | 输入框默认内容 | string | | |
| value | 输入框内容 | string | | |
| onPressEnter | 按下回车的回调 | function(e) | | |
| allowClear | 可以点击清除图标删除内容 | boolean | | |
| allowClear | 可以点击清除图标删除内容 | boolean | | 3.25.0 |
`Input.TextArea` 的其他属性和浏览器自带的 [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) 一致。