We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2970a1 + 74b2f50 commit 461ab9eCopy full SHA for 461ab9e
packages/tween/README.md
@@ -28,7 +28,7 @@ import { createTween } from "@solid-primitives/tween";
28
const [value, setValue] = createSignal(0);
29
const tweenedValue = createTween(value, { duration: 500 });
30
31
-setMyNumber(100);
+setValue(100);
32
// tweenedValue will now smoothly transition from 0 to 100 over 500 ms
33
```
34
0 commit comments