Closed prpanto closed 6 months ago
That is a wrong demo code. You want to use this
const { motionProperties } = useMotionProperties(domElementRef, {
cursor: 'grab',
x: 0,
y: 0
})
const { set } = useSpring(motionProperties, {
damping: 50,
stiffness: 220,
})
I use the code from the demo and I have error
mixerFactory is not a function