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
This library uses deprecated propTypes from react-native which aren't exported by react-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...
The text was updated successfully, but these errors were encountered:
alessiocancian
pushed a commit
to alessiocancian/react-native-material-ui
that referenced
this issue
Apr 9, 2021
This library uses deprecated propTypes from react-native which aren't exported by react-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...
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:I'm sending a PR with the patch I used to fix it...
The text was updated successfully, but these errors were encountered: