Root-App / react-native-mock-render

a fork of react-native-mock that renders
MIT License
85 stars 50 forks source link

What's the mechanism to use it with latest react native version? #50

Closed cliren closed 2 years ago

cliren commented 6 years ago

We are using react-native: "0.55.4" which > the react-native version used this module and thus not finding the latest components like . What is the recommended approach to make new components available?

Running this error when using

Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.