phosphor-icons / react

A flexible icon family for React
https://phosphoricons.com
MIT License
1.1k stars 57 forks source link

Invariant Violation: View config getter callback for component `path` must be a function (received `undefined`) #57

Closed K0R1NGA69 closed 1 year ago

K0R1NGA69 commented 1 year ago

i am getting this error when i try to use any icon from this package ("@phosphor-icons/react": "^2.0.10") it works just fine when i use the previous phosphor-react-native": "^1.1.2".

I am getting the following error Invariant Violation: View config getter callback for component path must be a function (received undefined). Make sure to start component names with a capital letter.

This error is located at: in path in svg (created by IconBase) in IconBase (created by Star) in Star (created by UserRecords) in RCTView (created by View) in View in Unknown

My Env:

"react-native": "0.71.8", "expo": "~48.0.18",

rektdeckard commented 1 year ago

@K0R1NGA69 this library does not support React Native, and phosphor-react-native is a community port we do not maintain.