阅读背景:

如何将导航器传递给汉堡包菜单组件?

来源:互联网 

I'm trying to implement a custom navigation drawer using react-navigation and react-native-elements. I also want all my screens to have a header (that has a hamburger from which I can control the drawer). The problem I'm facing is that the screen includes the header, while the drawer includes the screen, yet the header needs the drawer for its click event. So how do I pass the drawer object to my hamburger (inside the header component)?I'm trying to implement a custom navigation dra




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

分享到: