You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
395 B

9 years ago
---
order: 3
title: 输入框组合
---
输入框的组合展现。
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);
````