79359993

Date: 2025-01-15 23:34:52
Score: 2.5
Natty:
Report link

how did you come to the conclusion that the issue was with the following line from your original post:

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

I am in the process of upgrading an app from .65 to .75 and my Icons aren't showing as well.

Was wondering if you had something similar to me but then got further or if anybody else is here from the same search has a similar issue.

There was a github issue for this issue which is marked asclosed but the solutions provided do not work for me

The error from my IDE is giving me the following:

'Icon' cannot be used as a JSX component. 

Its type 'typeof Icon' is not a valid JSX element type.
Types of construct signatures are incompatible.
 
Type 'new (props: IconProps) => Icon' is not assignable to type 
'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'.

Property 'refs' is missing in type 'Component<IconProps, any, any>' 
but required in type 'Component<any, any, any>'.ts(2786)
Reasons:
  • Blacklisted phrase (2): Was wondering
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): how did you
  • Low reputation (1):
Posted by: k.666