Created
July 25, 2022 14:37
-
-
Save angjez/eca442c4f6c496135aa26ee49255dda2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const thumbsUp = useTransform(x, [15, 100], [0, 1]); | |
const thumbsUp2 = useTransform(x, [20, 100], [0, 1]); | |
const thumbsDown = useTransform(x, [-15, -50], [0, 1]); | |
const thumbsDown2 = useTransform(x, [-10, -100], [0, 1]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment