mmuminovic / react-native-qibla-compass

MIT License
10 stars 1 forks source link

Element type is invalid: expected a string (for built-in components) or a class/function but got: object. #1

Closed mdnaeem95 closed 5 months ago

mdnaeem95 commented 5 months ago

Hello!

Was trying to incorporate this into my React Native application but got the following error.

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

mmuminovic commented 5 months ago

Hello!

I saw your issue and did investigation. I fixed it and now new version 1.2.0 is released on npm. Please let me know if you have any more issues with it or if you have some suggestion for improvment.

@mdnaeem95

Thank you for choosing this piece of software.