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

21 lines
371 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-01-19 15:19:03 +08:00
````__react
2016-06-03 15:00:01 +08:00
import { Input } from 'antd';
ReactDOM.render(<Input type="textarea" rows={4} />, mountNode);
````