I'm trying to use TimelineMax, but somehow I get the following error: "Unresolved function or method staggerTo()".
That's how I import gsap:
import {TweenMax, TimelineMax, Expo, Quad, Quint} from 'gsap'
That's how I use it:
new TimelineMax({onComplete: () => enterHoverAnimationRunning = false})
.staggerTo(letters, 0.2, {
ease: Quad.easeIn,
y: '-100%',
opacity: 0
}, 0.04, 0)
.st