Skip to content

Instantly share code, notes, and snippets.

@angjez
Created July 25, 2022 14:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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