chadly / lottie-to-svg

Convert a lottie animation to an SVG file
MIT License
95 stars 11 forks source link

renderSvg related instructions might be outdated. #1

Closed nimajnebp closed 3 years ago

nimajnebp commented 3 years ago

I came to this repo in order solve the exact problem that this tool offers, needed a placeholder image until a large lottie json loads. I found myself scratching on the head while trying to make it work by following the instructions.

I use lottie-web as my player in a react gatsby project.

And this is not clear to me on the implementation part: "You can pass render settings for lottie-web (which does the actual rendering of the animation) as the second argument to renderSvg. See full list of available options."

How an actual implementation should look like?

nimajnebp commented 3 years ago

I get it now, u dont need to have lottie-web, this includes it.