Created
January 12, 2020 09:47
-
-
Save emmabostian/6003e4e46a60c2d9b485eebf8408e66b 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 fadingAnimation = useTransition(modalVisible, null, { | |
from: { opacity: 0, transform: "translateY(-40px)" }, | |
enter: { opacity: 1, transform: "translateY(0px)" }, | |
leave: { opacity: 0, transform: "translateY(-40px)" } | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment