Created
September 28, 2021 14:38
-
-
Save josefrichter/ed81c41ceb40d4d20ef6c717c0e7b37e 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
// doesn't throw error, but doesn't work: | |
const x = useTransform( | |
contentOffsetY, | |
[0, -400], | |
[0, endX], | |
[ | |
{ | |
clamp: false, | |
ease: [0.5], | |
}, | |
] | |
) | |
// this works, but I need the easing | |
const x = useTransform( | |
contentOffsetY, | |
[0, -400], | |
[0, endX], | |
{ | |
clamp: false, | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment