Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6581

Type props custom header react-navigation

$
0
0

I created a custom header and the title of this header was extracted from the navigation parameters, however typescript tells me that the property that I passed through the navigation parameters does not exist, could you help me type the header properties or how can I fix this error.

enter image description here

I tried typing the props directly but I get another more complex error.


Viewing all articles
Browse latest Browse all 6581

Latest Images

Trending Articles



Latest Images