0down votefavorite
I am pretty new to GSAP and like using it so far, however, I have a question on how to do some relatively simple animations with react.js involved.
I have two divs and an arrow in the middle. What I want is when a div is clicked the arrow will animate and move under the div that is clicked. And if the other div is clicked then the arrow will move under that div.
I feel like this is easily done with HTML/CSS but incorporating it into react has been difficult.
Any help is greatly appreciated coming from a entry-level coder.