mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 10:39:50 +08:00
Imporve docs for the prop "navigationBar" in Navigator
Summary:The doc of props "navigationBar" in Navigator is not detailed enough. I make an improvement to it. Closes https://github.com/facebook/react-native/pull/6615 Differential Revision: D3102065 fb-gh-sync-id: da96e3c422e053d0a8203bbd160ea10ed590878a fbshipit-source-id: da96e3c422e053d0a8203bbd160ea10ed590878a
This commit is contained in:
committed by
Facebook Github Bot 8
parent
21c433d998
commit
d0f6a1a13e
@@ -236,8 +236,9 @@ var Navigator = React.createClass({
|
||||
onDidFocus: PropTypes.func,
|
||||
|
||||
/**
|
||||
* Optionally provide a navigation bar that persists across scene
|
||||
* transitions
|
||||
* Optionally provide a component as navigation bar that persists across scene
|
||||
* transitions. The component will receive two props: `navigator` and `navState`.
|
||||
* It will be rerendered when the routes change.
|
||||
*/
|
||||
navigationBar: PropTypes.node,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user