mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
update slider demo
This commit is contained in:
parent
eed7455c51
commit
618d0a334a
@ -23,6 +23,6 @@ ReactDOM.render(<div>
|
||||
}
|
||||
|
||||
.code-box-demo .ant-slider:last-child {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
|
@ -23,7 +23,7 @@ ReactDOM.render(
|
||||
<Slider range marks={marks} defaultValue={[26, 37]} />
|
||||
<p>并列关系</p>
|
||||
<Slider marks={marks} included={false} defaultValue={37} />
|
||||
<p>结合 `step`</p>
|
||||
<p>结合 step</p>
|
||||
<Slider marks={marks} step={10} defaultValue={37} />
|
||||
</div>
|
||||
, document.getElementById('components-slider-demo-mark'));
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
## 何时使用
|
||||
|
||||
当用户需要在数值区间/自定义区间内进行选择时,输入值可为连续或离散值。
|
||||
当用户需要在数值区间/自定义区间内进行选择时,可为连续或离散值。
|
||||
|
||||
## API
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user