Skip to content

Instantly share code, notes, and snippets.

@emmabostian emmabostian/index.js
Created Jan 12, 2020

Embed
What would you like to do?
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
You can’t perform that action at this time.