Open alessiocancian opened 3 years ago
This library uses deprecated propTypes from
react-native
which aren't exported byreact-native-web
(necolas/react-native-web#1543).As a result when trying to use
react-native-material-ui
on web I got this error:Uncaught TypeError: Cannot read property 'style' of undefined at eval(webpack-internal:///./node_modules/react-native-material-ui/src/IconToggle/IconToggle.react.js) at Object../node_modules/react-native-material-ui/src/IconToggle/IconToggle.react.js ....
I'm sending a PR with the patch I used to fix it...
same problem!
Excuse me, I have a serious problem with this. Is there no solution?
Excuse me, I have a serious problem with this. Is there no solution?
Yes, you can patch the package using patch-package, see my PR with the fix
This library uses deprecated propTypes from
react-native
which aren't exported byreact-native-web
(https://github.com/necolas/react-native-web/issues/1543).As a result when trying to use
react-native-material-ui
on web I got this error:I'm sending a PR with the patch I used to fix it...