Hi, this is my first time using Lottie in general, but I seem to be getting these error when the animation run? But as far as I understood these props are optional?
![image](https://user-images.githubusercontent.com/39946146/82156745-5b668200-987d-11ea-9527-b7c3b378287c.png)
import React from "react";
import Lottie from "react-lottie-wrapper";
import * as LogoAnimation from "../../assets/LogoAnimation.json";
const LogoLoader = () => {
const defaultOptions = {
loop: true,
autoplay: true,
animationData: LogoAnimation.default,
rendererSettings: {
preserveAspectRatio: "xMidYMid slice"
}
};
return (
<div className="logoloader_container">
<Lottie
options={defaultOptions}
height={200}
width={200}
/>
<span className="logoloader-text">LOADING..</span>
</div>
)
}
export default LogoLoader;