2016-06-03 15:00:01 +08:00
|
|
|
---
|
|
|
|
order: 5
|
2016-08-22 09:53:39 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 文本域
|
2017-07-14 15:35:03 +08:00
|
|
|
en-US: TextArea
|
2016-06-03 15:00:01 +08:00
|
|
|
---
|
|
|
|
|
2016-08-22 09:53:39 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2017-07-14 15:35:03 +08:00
|
|
|
用于多行输入。
|
2016-06-03 15:00:01 +08:00
|
|
|
|
2016-08-22 09:53:39 +08:00
|
|
|
## en-US
|
|
|
|
|
2017-07-14 15:35:03 +08:00
|
|
|
For multi-line input.
|
2016-08-22 09:53:39 +08:00
|
|
|
|
2017-02-13 10:55:53 +08:00
|
|
|
````jsx
|
2016-06-03 15:00:01 +08:00
|
|
|
import { Input } from 'antd';
|
2018-06-27 15:55:04 +08:00
|
|
|
|
2017-05-22 14:44:58 +08:00
|
|
|
const { TextArea } = Input;
|
2016-06-03 15:00:01 +08:00
|
|
|
|
2017-05-22 14:44:58 +08:00
|
|
|
ReactDOM.render(<TextArea rows={4} />, mountNode);
|
2016-06-03 15:00:01 +08:00
|
|
|
````
|