Skip to content

Commit

Permalink
docs(demo): slider marks
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Jan 23, 2025
1 parent 383ed39 commit 2bfbab7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc-site/docs/demo/2_1_1-watermark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ export default function UI() {
min={0}
max={3}
step={0.1}
marks={{
0: '0',
'0.5': 0.5,
1: '1',
'1.5': 1.5,
2: '2',
'2.5': 2.5,
3: '3',
}}
value={playbackRate}
onChange={setPlaybackRate}
></Slider>
Expand Down

0 comments on commit 2bfbab7

Please sign in to comment.