The Wayback Machine - https://web.archive.org/web/20210729035352/https://github.com/topics/emotionjs
Skip to content
#

emotionjs

Here are 139 public repositories matching this topic...

astgermain
astgermain commented Dec 16, 2020

Animations can easily be reversed for cleanup using state to set the value of a reverse prop and is already implemented but it is not stated in documentation even though it works.

Example:

const [shown, setShown] = useState(false)
const yeetMenu = () => {
    setShown(!shown)
}
<Slide
      duration={500}
      triggerOnce={true}
      direction="right"
      reverse={shown}

Improve this page

Add a description, image, and links to the emotionjs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the emotionjs topic, visit your repo's landing page and select "manage topics."

Learn more