-
Notifications
You must be signed in to change notification settings - Fork 123
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
MaskView.js file: TypeError: Object(...) is not a function #130
Comments
Needs more context, and better formatting |
I get the same, points out to this line in MaskedView.js: Which triggers: Tried out with your github example code in a plain view.
|
Just to leave a comment here for others: This issue seems to be related to reactive native web. It seems mask view is not compatible with the current version with expo web |
any solution ? |
I could not find any workaround, other than that it needs to be implemented |
This works for me at the moment |
11 | import * as React from 'react'; 12 | import { View, StyleSheet, requireNativeComponent } from 'react-native'; 13 | **> 14 | const RNCMaskedView = requireNativeComponent<any>('RNCMaskedView')**; 15 | 16 | import type { MaskedViewProps } from './MaskedViewTypes';
Please help with this error
The text was updated successfully, but these errors were encountered: