mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 06:58:33 +08:00
23 lines
256 B
Markdown
23 lines
256 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);
|
|
````
|