How can I properly import a Component into my Navigator in React Native?
Have you missed 's' at the end of module.export
. It should be module.exports
. In that case the import should be
import EnterName from './App/Components/EnterName
Instead of module.exports you can also use
export default class EnterName extends Component
https://developer.mozilla.org/en/docs/web/javascript/reference/statements/import