Skip to content
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

Import HostComponent instead of NativeComponent Type #520

Closed

Conversation

yungsters
Copy link

Summary

Updates the import of NativeComponent from ReactNative to instead import HostComponent. This fixes Flow errors when used alongside the latest version of React Native.

facebook/react#18036 removed the NativeComponent type.

Test Plan

$ yarn
$ yarn test
$ flow

@vonovak
Copy link
Member

vonovak commented Nov 22, 2021

hello @yungsters and thank you for the PR! This has been superseded by #527

@vonovak vonovak closed this Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants