react navigation element type is invalid expected a string "but got object" code example
Example: touchableopacity expected a string
This is probably caused by some JS module export/import issues
in your program, typically for one of the two reasons listed below:
- You forget to export, or you export something incorrectly
- You import something that doesn't exist, or you import something incorrectly