Animate Components On Exit With Framer Motion React

后端 未结 0 1163
庸人自扰
庸人自扰 2021-01-05 03:22

I have a button that toggles between two components. How do I add an animation for each component on exit? Here is my code that doesn\'t work:

export default          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题