mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
5f38753f6c
* fix composition * fix input * update doc * fix tst * more test case * more test case
403 B
403 B
order | title | ||||
---|---|---|---|---|---|
12 |
|
zh-CN
展示字数提示。
en-US
Show character counting.
import { Input } from 'antd';
const { TextArea } = Input;
const onChange = e => {
console.log('Change:', e.target.value);
};
ReactDOM.render(<TextArea showCount maxLength={100} onChange={onChange} />, mountNode);