Skip to content

Instantly share code, notes, and snippets.

@angjez
Created Jul 25, 2022
Embed
What would you like to do?
const xInput = [-100, 0, 100];
const color = useTransform(x, xInput, [
theme.colors.pink,
theme.colors.orange,
theme.colors.green,
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment