react-lottie
react-lottie copied to clipboard
Use `object` instead of `string` for the `style` prop type
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.