react-lottie icon indicating copy to clipboard operation
react-lottie copied to clipboard

Use `object` instead of `string` for the `style` prop type

Open vlasscontreras opened this issue 5 months ago • 2 comments

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.

vlasscontreras avatar Mar 17 '24 04:03 vlasscontreras