mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-07 17:28:56 +08:00
* add withNavigationFocus HOC See: - https://github.com/react-navigation/react-navigation/issues/51#issuecomment-276003658 - https://github.com/react-navigation/react-navigation/issues/51#issuecomment-278761705 - https://github.com/react-navigation/react-navigation/pull/3345#issuecomment-360260067 * typos * remove unused import * Add withNavigationFocus export * add example TabsWithNavigationFocus * add example TabsWithNavigationFocus * withNavigationFocus: get navigation from context or props * subs => subscriptions * fix flow issues