mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Hint for passing navigator in renderScene
Summary: Closes https://github.com/facebook/react-native/pull/4999 Reviewed By: svcscm Differential Revision: D2790687 Pulled By: androidtrunkagent fb-gh-sync-id: af055123b351e37081a37d6153333666a878113c
This commit is contained in:
committed by
facebook-github-bot-6
parent
23de42ba3f
commit
58bbd7bc5b
@@ -203,7 +203,7 @@ var Navigator = React.createClass({
|
||||
*
|
||||
* ```
|
||||
* (route, navigator) =>
|
||||
* <MySceneComponent title={route.title} />
|
||||
* <MySceneComponent title={route.title} navigator={navigator} />
|
||||
* ```
|
||||
*/
|
||||
renderScene: PropTypes.func.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user