react-useanimations
react-useanimations copied to clipboard
useAnimations shows two icons
when i use useAnimations to render icon, it can not change when i use reverse, and then i set padding for wrapperStyle, and there are two different state icon showed. you can check it at: https://codesandbox.io/embed/damp-butterfly-4onbfp?fontsize=14&hidenavigation=1&theme=dark
@chenmoonmo this is caused by the <StrictMode> component I think. Here it is fixed:
https://codesandbox.io/s/loving-fog-5rofxw?file=/src/index.js