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.

19 lines
310 B

# 双滑块
- order: 4
设置 `range``true`,将会渲染两个滑块。
---
````jsx
import { Slider } from 'antd';
ReactDOM.render(
<div>
<Slider range defaultValue={[0, 30]} />
<Slider range step={10} value={[20, 50]} />
</div>
, document.getElementById('components-slider-demo-range'));
````