Skip to content

Commit

Permalink
fix tsc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Aug 23, 2024
1 parent 578380b commit 75d5334
Showing 1 changed file with 3 additions and 5 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

0 comments on commit 75d5334

Please sign in to comment.