mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
docs(input): add showCount version (#27246)
This commit is contained in:
parent
fd0a513718
commit
3493b4f7da
@ -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).
|
||||
|
||||
|
@ -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) 一致。
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user