Skip to content

Instantly share code, notes, and snippets.

@DmitryOlkhovoi
Created January 21, 2020 10:52
Show Gist options
  • Save DmitryOlkhovoi/1a4e66de14bb2638934fb9102c35a4be to your computer and use it in GitHub Desktop.
Save DmitryOlkhovoi/1a4e66de14bb2638934fb9102c35a4be to your computer and use it in GitHub Desktop.
function onAnimationEnd(key: string) {
setRippleElements(rippleElements => rippleElements.filter(element => element.key !== key));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment