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.
 
 

310 B

双滑块

  • order: 4

设置 rangetrue,将会渲染两个滑块。


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'));