Skip to content

Commit

Permalink
fix: typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jan 21, 2024
2 parents 06afdf7 + 7a2fc18 commit 0534648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/useSlider.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Demo = () => {
<div>
<div ref={ref} style={{ position: 'relative' }}>
<p style={{ textAlign: 'center', color: isSliding ? 'red' : 'green' }}>
{Math.round(state.value * 100)}%
{Math.round(value * 100)}%
</p>
<div style={{ position: 'absolute', left: pos }}>🎚</div>
</div>
Expand Down

0 comments on commit 0534648

Please sign in to comment.