mifi / react-lottie-player

Fully declarative React Lottie player
MIT License
505 stars 53 forks source link

How to set rendererSetting? #2

Closed bit-captain closed 4 years ago

bit-captain commented 4 years ago

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:) .

mifi commented 4 years ago

There is a prop