Skip to content

Commit

Permalink
Add Input range demo
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Apr 19, 2017
1 parent b9ff7ed commit 1b42fbc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion components/input/demo/group.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
order: 3
title:
title:
zh-CN: 输入框组合
en-US: Input Group
---
Expand Down Expand Up @@ -71,6 +71,15 @@ ReactDOM.render(
</Select>
</InputGroup>
<br />
<InputGroup compact>
<Select defaultValue="1">
<Option value="1">介于</Option>
<Option value="2">除了</Option>
</Select>
<Input style={{ width: 100, textAlign: 'center' }} placeholder="最小值" />
<Input style={{ width: 24, borderLeft: 0, pointerEvents: 'none' }} placeholder="~" />
<Input style={{ width: 100, textAlign: 'center', borderLeft: 0 }} placeholder="最大值" />
</InputGroup>
</div>
, mountNode);
````

0 comments on commit 1b42fbc

Please sign in to comment.