mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
138b953afd
* feat: TextArea showCount * update: TextArea showCount test * update: TextArea showCount test * update: test * update: test * update: test * update: interface * revert: interface change
313 B
313 B
order | title | ||||
---|---|---|---|---|---|
12 |
|
zh-CN
展示字数提示。
en-US
Show character counting.
import { Input } from 'antd';
const { TextArea } = Input;
ReactDOM.render(<TextArea showCount maxLength={100} />, mountNode);