mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 06:58:33 +08:00
21 lines
371 B
Markdown
21 lines
371 B
Markdown
---
|
|
order: 5
|
|
title:
|
|
zh-CN: 文本域
|
|
en-US: Textarea
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
用于多行输入,指定 `type` 为一个特殊的 `textarea`。
|
|
|
|
## en-US
|
|
|
|
For multi-line user input cases, an input whose `type` prop has the value of `"textarea"` can be used.
|
|
|
|
````__react
|
|
import { Input } from 'antd';
|
|
|
|
ReactDOM.render(<Input type="textarea" rows={4} />, mountNode);
|
|
````
|