I am currently moving our animations over to react-spring but am having difficulty implementing animations such as fade-in top left to bottom right. Something simple along these lines fades in a div but I need to control the direction of the fade in:
import {useTransition, animated} from 'react-spring'
const component = () => {
const props = useSpring({opacity: 1, from: {opacity: 0}})
return (
<animated.div>
{div contents here}
</animated.div>
)
}
Anyone have experience with React Spring