Skip to content

Commit 0534648

Browse files
authored
fix: typo in example
2 parents 06afdf7 + 7a2fc18 commit 0534648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/useSlider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Demo = () => {
1515
<div>
1616
<div ref={ref} style={{ position: 'relative' }}>
1717
<p style={{ textAlign: 'center', color: isSliding ? 'red' : 'green' }}>
18-
{Math.round(state.value * 100)}%
18+
{Math.round(value * 100)}%
1919
</p>
2020
<div style={{ position: 'absolute', left: pos }}>🎚</div>
2121
</div>

0 commit comments

Comments
 (0)