Created
January 12, 2020 13:37
-
-
Save emmabostian/c88791dab8806b5f1e9a8fbb42cc0b66 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 transitions = useTransition(index, p => p, { | |
from: { opacity: 0, transform: "translateX(100%)" }, | |
enter: { opacity: 1, transform: "translateX(0%)" }, | |
leave: { opacity: 0, transform: "translateX(-150%)" }, | |
config: config.slow | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment