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

Navigation.navigate is not a function , navigation is underfined

$
0
0

i have a problem , in React-Native.Can someone help me

<Button title="Save" onPress = {() => navigation.navigate('Save' , { image })}/>    {image && <Image source = {{uri: image}} style= {{flex: 1}}/>}</View>  );}

i got a error: navigation.navigate is not a function. (In 'navigation.navigate('Save', {image: image})', 'navigation.navigate' is undefined)


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>