mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 15:08:34 +08:00
22 lines
255 B
Markdown
22 lines
255 B
Markdown
---
|
|
order: 5
|
|
title:
|
|
zh-CN: 文本域
|
|
en-US: TextArea
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
用于多行输入。
|
|
|
|
## en-US
|
|
|
|
For multi-line input.
|
|
|
|
````jsx
|
|
import { Input } from 'antd';
|
|
const { TextArea } = Input;
|
|
|
|
ReactDOM.render(<TextArea rows={4} />, mountNode);
|
|
````
|