testing lottie file
This commit is contained in:
parent
20e5b5992c
commit
d6780f8cdb
13
src/components/animations/test.jsx
Normal file
13
src/components/animations/test.jsx
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
import React from "react";
|
||||||
|
import Lottie from "lottie-react";
|
||||||
|
|
||||||
|
import animationData from "../../assets/animations/test.json";
|
||||||
|
|
||||||
|
export default function TestAnimation() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<p>salut</p>
|
||||||
|
{/* <Lottie className='renardLoading' animationData={animationData} loop autoplay /> */}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user