Gamote / lottie-react

A lightweight React library for rendering complex After Effects animations in real time using Lottie.
https://lottiereact.com
Other
794 stars 58 forks source link

Incorrect type of "renderer" property of Lottie component #77

Closed blurvene closed 1 year ago

blurvene commented 2 years ago

Describe the bug Passing renderer property with value "canvas"or "html" to Lottie component triggers type error

To Reproduce Pass renderer="canvas" or renderer="html" to Lottie component

Expected behavior Typescript error is not displayed, renderer property accepts 'svg' | 'canvas' | 'html' values

Screenshots

Screenshot 2022-10-25 at 17 54 44
Gamote commented 1 year ago

@blurvene fixed in the v2.4.0