I have a simple component:
const Test = ({header}) => <View> <Header /> </View>`
and call it like so:
<Test header={<View> Test </View} />
but it fails saying:
JSX element type 'Header' does not have any construct or call signatures
How do I fix this? I need to render it like <Header />
so I can pass further props down to it
I don't want to render it like {header}
this.