bamlab / bamlab/react-native-image-header-scroll-view

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.

Open
#116 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Hello,

I get this error on use like your doc :

`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.`

And `HeaderImageScrollView` component is not define as component : `JSX element type 'HeaderImageScrollView' does not have any construct or call signatures.ts(2604)`

![image](https://user-images.githubusercontent.com/11740298/141653522-a10d8bd9-4dfd-4c3f-9772-25792356a15f.png)

Thanks in advance

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.