mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
33 lines
471 B
Markdown
33 lines
471 B
Markdown
---
|
|
order: 3
|
|
title:
|
|
zh-CN: 输入框组合
|
|
en-US: Input Group
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
输入框的组合展现。
|
|
|
|
## en-US
|
|
|
|
Input.Group example
|
|
|
|
````jsx
|
|
import { Input, Col } from 'antd';
|
|
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);
|
|
````
|