Skip to content

Commit

Permalink
Merge branch 'master' into afc163-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Aug 23, 2024
2 parents b765ab8 + b9298bd commit 75e2a37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 3 additions & 5 deletions docs/examples/range.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,26 +245,24 @@ export default () => (
</div>
<div style={style}>
<p>draggableTrack two points</p>
<Slider range allowCross={false} defaultValue={[0, 40]} draggableTrack onChange={log} />
<Slider range={{ draggableTrack: true }} allowCross={false} defaultValue={[0, 40]} onChange={log} />
</div>
<div style={style}>
<p>draggableTrack two points(reverse)</p>
<Slider
range
range={{ draggableTrack: true }}
allowCross={false}
reverse
defaultValue={[0, 40]}
draggableTrack
onChange={log}
/>
</div>
<div style={style}>
<p>draggableTrack multiple points</p>
<Slider
range
range={{ draggableTrack: true }}
allowCross={false}
defaultValue={[0, 20, 30, 40, 50]}
draggableTrack
onChange={log}
/>
</div>
Expand Down
6 changes: 2 additions & 4 deletions docs/examples/vertical.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ export default () => (
<div style={style}>
<p>Range with marks and draggableTrack</p>
<Slider
range
draggableTrack
range={{ draggableTrack: true }}
vertical
min={-10}
marks={marks}
Expand All @@ -105,8 +104,7 @@ export default () => (
<div style={style}>
<p>Range with marks and draggableTrack(reverse)</p>
<Slider
range
draggableTrack
range={{ draggableTrack: true }}
vertical
reverse
min={-10}
Expand Down

0 comments on commit 75e2a37

Please sign in to comment.