You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following warning message is displayed when using the style={} property in the Lottie component.
Even thought it´s getting the correct styling at the component level, we see the warning because of the configuration used on the propTypes (or that´s what we believe is the reason)
Using this code logic:
So basically it does work but with a bad warning that should be fixed.
We can see the propTypes used at the moment in the file https://github.com/chenqingspring/react-lottie/blob/master/src/index.js
are expecting a string type of value in the styles but they are actually being used as an object.
The text was updated successfully, but these errors were encountered:
The following warning message is displayed when using the style={} property in the Lottie component.
Even thought it´s getting the correct styling at the component level, we see the warning because of the configuration used on the propTypes (or that´s what we believe is the reason)
Using this code logic:
So basically it does work but with a bad warning that should be fixed.
We can see the propTypes used at the moment in the file https://github.com/chenqingspring/react-lottie/blob/master/src/index.js
are expecting a string type of value in the styles but they are actually being used as an object.
The text was updated successfully, but these errors were encountered: