-
Notifications
You must be signed in to change notification settings - Fork 25k
Update NavigatorIOS.ios.js #5101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -247,16 +247,46 @@ var NavigatorIOS = React.createClass({ | |
| * Styles for the navigation item containing the component | ||
| */ | ||
| wrapperStyle: View.propTypes.style, | ||
|
|
||
| /** | ||
| * A Boolean value that indicates whether the navigation bar is hidden | ||
| */ | ||
| navigationBarHidden: PropTypes.bool, | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no-trailing-spaces: Trailing spaces not allowed. |
||
| /** | ||
| * A Boolean value that indicates whether to hide the 1px hairline shadow | ||
| */ | ||
| shadowHidden: PropTypes.bool, | ||
|
|
||
| /** | ||
| * The color used for buttons in the navigation bar | ||
| */ | ||
| tintColor: PropTypes.string, | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no-trailing-spaces: Trailing spaces not allowed. |
||
| /** | ||
| * The background color of the navigation bar | ||
| */ | ||
| barTintColor: PropTypes.string, | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no-trailing-spaces: Trailing spaces not allowed. |
||
| /** | ||
| * The text color of the navigation bar title | ||
| */ | ||
| titleTextColor: PropTypes.string, | ||
|
|
||
| /** | ||
| * A Boolean value that indicates whether the navigation bar is translucent | ||
| */ | ||
| translucent: PropTypes.bool, | ||
|
|
||
| }).isRequired, | ||
|
|
||
| /** | ||
| * A Boolean value that indicates whether the navigation bar is hidden | ||
| * A Boolean value that indicates whether the navigation bar is hidden by default | ||
| */ | ||
| navigationBarHidden: PropTypes.bool, | ||
|
|
||
| /** | ||
| * A Boolean value that indicates whether to hide the 1px hairline shadow | ||
| * A Boolean value that indicates whether to hide the 1px hairline shadow by default | ||
| */ | ||
| shadowHidden: PropTypes.bool, | ||
|
|
||
|
|
@@ -267,22 +297,22 @@ var NavigatorIOS = React.createClass({ | |
| itemWrapperStyle: View.propTypes.style, | ||
|
|
||
| /** | ||
| * The color used for buttons in the navigation bar | ||
| * The default color used for buttons in the navigation bar | ||
| */ | ||
| tintColor: PropTypes.string, | ||
|
|
||
| /** | ||
| * The background color of the navigation bar | ||
| * The default background color of the navigation bar | ||
| */ | ||
| barTintColor: PropTypes.string, | ||
|
|
||
| /** | ||
| * The text color of the navigation bar title | ||
| * The default text color of the navigation bar title | ||
| */ | ||
| titleTextColor: PropTypes.string, | ||
|
|
||
| /** | ||
| * A Boolean value that indicates whether the navigation bar is translucent | ||
| * A Boolean value that indicates whether the navigation bar is translucent by default | ||
| */ | ||
| translucent: PropTypes.bool, | ||
|
|
||
|
|
@@ -610,8 +640,8 @@ var NavigatorIOS = React.createClass({ | |
| return ( | ||
| <StaticContainer key={'nav' + i} shouldUpdate={shouldUpdateChild}> | ||
| <RCTNavigatorItem | ||
| {...route} | ||
| {...props} | ||
| {...route} | ||
| style={[ | ||
| styles.stackItem, | ||
| itemWrapperStyle, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-trailing-spaces: Trailing spaces not allowed.