In react-lottie we could set it this way
const defaultOptions = { loop: true, autoplay: true, animationData: lottieChar, rendererSettings: { preserveAspectRatio: "xMidYMid meet", }, };
but I don't know how to set it in your lib. I'm a newbie so could be nice if you could provide some example:) .
In react-lottie we could set it this way
const defaultOptions = { loop: true, autoplay: true, animationData: lottieChar, rendererSettings: { preserveAspectRatio: "xMidYMid meet", }, };
but I don't know how to set it in your lib. I'm a newbie so could be nice if you could provide some example:) .