react-navigation / rfcs

RFCs for changes to React Navigation
Other
88 stars 16 forks source link

Navigation prop consistency in tabBarComponent, drawerComponent, and header #42

Closed brentvatne closed 6 years ago

brentvatne commented 6 years ago
brentvatne commented 6 years ago

some confusion from this here: https://github.com/react-navigation/react-navigation/issues/4440

brentvatne commented 6 years ago

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 6 years ago

https://github.com/react-navigation/react-navigation/pull/4467 in 2.3.0-beta.1

brentvatne commented 6 years ago

https://github.com/react-navigation/react-navigation/releases/tag/2.3.0