1. 程式人生 > >使用react-navigation提示undefind is not a function

使用react-navigation提示undefind is not a function

修改 function nbsp src not 安卓 img nav efi

在學習react-natrive的時候,看到導航跳轉一章,遂試了一下demo:

技術分享圖片

但是呢,在安卓模擬器上卻報錯了:

技術分享圖片

找了許多方法,包括降低版本都不行,後來修改了一下導出就可以了:

技術分享圖片

使用react-navigation提示undefind is not a function