Closed demic-dev closed 2 years ago
Could you try upgrading to v3
yarn add dripsy@canary
it comes with a ton of types improvements, maybe this one is fixed too…
See more at https://github.com/nandorojo/dripsy/pull/124
Yes, with the latest version is working fine, thanks for the quick response!
Cool
Hi!
When you declare a component with the
styled
method and you give them styling, aspectRatio property is set as string, but React Native requires a number.Workaround
Commenting the line before with
@ts-ignore
can avoid the problem. Example: