ant-design/components/input/demo/textarea.md

21 lines
367 B
Markdown
Raw Normal View History

2016-06-03 15:00:01 +08:00
---
order: 5
title:
zh-CN: 文本域
en-US: Textarea
2016-06-03 15:00:01 +08:00
---
## zh-CN
2016-06-03 15:00:01 +08:00
用于多行输入,指定 `type` 为一个特殊的 `textarea`
## en-US
For multi-line user input cases, an input whose `type` prop has the value of `"textarea"` can be used.
2017-02-13 10:55:53 +08:00
````jsx
2016-06-03 15:00:01 +08:00
import { Input } from 'antd';
ReactDOM.render(<Input type="textarea" rows={4} />, mountNode);
````