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
After debugging I found the problem is a prop onClick is passed to the Icon file (SVG), which seems to be an invalid property. I fixed it by applying the following patch:
This should take some priority. Icons throwing errors in newer versions of Expo and the few updates this library has had are a motivation to stop using it
🐛 Bug Report
After upgrading to SDK 50 and React Native 0.73, I'm getting the following error:
To Reproduce
Render any
<Icon />
with any props, using the following dependencies:expo:
50.0.4
react:
18.2.0
react-native:
0.73.2
react-native-svg:
14.1.0
@eva-design/eva:
2.2.0
@ui-kitten/components:
5.3.1
@ui-kitten/eva-icons:
5.3.1
Expected behavior
Should render the icon.
UI Kitten and Eva version
Environment information
Stacktrace
Solution
After debugging I found the problem is a prop
onClick
is passed to the Icon file (SVG), which seems to be an invalid property. I fixed it by applying the following patch:However some questions remain open:
react-native-svg
accept the prop?The text was updated successfully, but these errors were encountered: