Navigation prop consistency in tabBarComponent, drawerComponent, and header
brentvatne opened this issue · 4 comments
brentvatne commented
- In header, it has the child navigation prop so that
push
works as expected - Bare (only dispatch) in tabBarComponent and drawerComponent
brentvatne commented
some confusion from this here: react-navigation/react-navigation#4440
brentvatne commented
here's a good one: https://snack.expo.io/Hk1FRPuxQ
stack -> drawer
drawer has navigationOptions to render button in header, wants to call drawer helpers (naturally), but they aren't available
brentvatne commented
react-navigation/react-navigation#4467 in 2.3.0-beta.1