I added a props called "getDuration" that will return the totalFrame of the animation onLoad of the Lottie.
I used to use a custom version of your library but now, because I want to publish mine on npm, Iit would be awesome if you add this functionality to your package :D
Thanks in advance and do not hesitate to contact me if needed :)
Hi,
I added a props called "getDuration" that will return the totalFrame of the animation onLoad of the Lottie. I used to use a custom version of your library but now, because I want to publish mine on npm, Iit would be awesome if you add this functionality to your package :D
Thanks in advance and do not hesitate to contact me if needed :)
See you, and thanks again for your library ;)