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
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:
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:The text was updated successfully, but these errors were encountered: