Yeahhh just figured that out right now looking at the console haha! Thanks for the quick reply though, honestly amazed.
Just in case this helps anyone...
import gsap, {TweenMax, Sine} from 'gsap'
import MorphSVGPlugin from 'gsap/MorphSVGPlugin'
Then usage something like this
gsap.registerPlugin(MorphSVGPlugin);
const lineAnimate = useRef(null);
const lineRef = useRef(null);
useEffect(() => {
TweenMax.to(lineAnimate.current, 1.2, {
morphSVG : lineRef.current,
repeat: -1,
yoyo: true,
ease: Sine.easeInOut,
delay: 0,
});
});