阅读背景:

React Navigation - 来自AsyncStorage的自定义图标

来源:互联网 

I'm using react-navigation and for one of the icons of my tabBar, I would like to use an image that is stored in AsyncStorage. But the time it takes to get that image is too long and so the image is not rendered.. Where could I put my AsyncStorage.getItem in order for it to be ready to use in time by my tabNavigator ? I can't seem to find how to pass props to the TabNavigator, only to the screens with screenProps. Thanks !I'm using react-navigation and for one of the i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: