docs(input): add showCount version (#27246)

This commit is contained in:
Tom Xu 2020-10-20 09:47:21 +08:00 committed by GitHub
parent fd0a513718
commit 3493b4f7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -49,8 +49,8 @@ The rest of the props of Input are exactly the same as the original [input](http
| allowClear | If allow to remove input content with clear icon | boolean | false | |
| onResize | The callback function that is triggered when resize | function({ width, height }) | - | |
| bordered | Whether has border style | boolean | true | 4.5.0 |
| showCount | Whether show text count | boolean | false | |
| maxLength | The max length | number | - | |
| showCount | Whether show text count | boolean | false | 4.7.0 |
| maxLength | The max length | number | - | 4.7.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

@ -50,8 +50,8 @@ Input 的其他属性和 React 自带的 [input](https://facebook.github.io/reac
| allowClear | 可以点击清除图标删除内容 | boolean | false | |
| onResize | resize 回调 | function({ width, height }) | - | |
| bordered | 是否有边框 | boolean | true | 4.5.0 |
| showCount | 是否展示字数 | boolean | false | |
| maxLength | 内容最大长度 | number | - | |
| showCount | 是否展示字数 | boolean | false | 4.7.0 |
| maxLength | 内容最大长度 | number | - | 4.7.0 |
`Input.TextArea` 的其他属性和浏览器自带的 [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) 一致。