Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use object instead of string for the style prop type #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vlasscontreras
Copy link

@vlasscontreras vlasscontreras commented Mar 17, 2024

In version 1.2.4 a change was introduced to explicitly type the style prop, however, with the wrong string causing a runtime error inconsistent with the types.

This PR changes the type to object so is consistent with the type defined in @types/react-lottie which is the right one fixing #159.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants