I am getting this error:
Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/funct
'Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function but got: object'
Your export file can have the word default
as in export default class ____....
Then your import will need to avoid using {}
around it. As in import ____ from ____
Avoid using the default word. Then your export looks like export class ____...
Then your import must use the {}
. Like import {____} from ____