Closed anubra266 closed 2 years ago
react-lotie-player doesnt implement that feature. you need to implement yourself
react-lotie-player doesnt implement that feature. you need to implement yourself
Thanks @mifi could you point me to some guide on how to do that.
I think something like this:
const [playing, setPlaying] = useState(false);
return <Lottie onMouseOver={() => setPlaying(true)} play={playing} />
I can't find a prop to play my animation on hover.