-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: undefined is not an object (evaluating '_reactNative.View.propTypes.style') #15
Comments
Go into your ~/node_modules/react-native-floating-hearts/FloatingHearts.js & change line 177 from View.propStyles to ViewPropStyles |
it does not work still. The floating hearts never come up or at times ReferenceError: Can't find variable: ViewPropStyles |
Is there any other npm package that works asides this? Owner seems to have gone away or on holidays |
Sorry not ViewPropStyles, line 177 should be this: |
@rajaweise Thanks But how does the floating heart activate? I am trying to use it as an action when a Touchable is pressed
|
This fix worked for me. Thanks a lott 👍 |
TypeError: undefined is not an object (evaluating '_reactNative.View.propTypes.style')
This error shows
"react-native": "0.63.2",
"react-native-elements": "^2.3.2",
"react-native-floating-hearts": "^0.0.9",
The text was updated successfully, but these errors were encountered: