Skip to content

Instantly share code, notes, and snippets.

@angjez
Created Jul 25, 2022
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