You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/input/demo/group.md

33 lines
471 B
Markdown

9 years ago
---
order: 3
title:
zn-CN: 输入框组合
en-US: Input Group
9 years ago
---
## zh-CN
输入框的组合展现。
9 years ago
## en-US
Input.Group example
9 years ago
````jsx
import { Input, Col } from 'antd';
9 years ago
const InputGroup = Input.Group;
ReactDOM.render(
<div>
<InputGroup size="large">
<Col span="4">
<Input defaultValue="0571" />
</Col>
<Col span="8">
<Input defaultValue="26888888" />
</Col>
</InputGroup>
</div>
, mountNode);
````