Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 37 additions & 7 deletions Libraries/Components/Navigation/NavigatorIOS.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,46 @@ var NavigatorIOS = React.createClass({
* Styles for the navigation item containing the component
*/
wrapperStyle: View.propTypes.style,

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.

/**
* A Boolean value that indicates whether the navigation bar is hidden
*/
navigationBarHidden: PropTypes.bool,

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.

/**
* 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,

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.

/**
* The background color of the navigation bar
*/
barTintColor: PropTypes.string,

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.

/**
* 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,

Expand All @@ -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,

Expand Down Expand Up @@ -610,8 +640,8 @@ var NavigatorIOS = React.createClass({
return (
<StaticContainer key={'nav' + i} shouldUpdate={shouldUpdateChild}>
<RCTNavigatorItem
{...route}
{...props}
{...route}
style={[
styles.stackItem,
itemWrapperStyle,
Expand Down