Skip to content

[Docs] Example of <Navigation> NavigationBar node syntax? #1698

Closed
@evanmrose

Description

@evanmrose

I'm looking through the docs and trying to find the proper syntax for a navigationBar node within a Navigation component. I see the following in the source:

propTypes: {
navigator: React.PropTypes.object,
routeMapper: React.PropTypes.shape({
  Title: React.PropTypes.func.isRequired,
  LeftButton: React.PropTypes.func.isRequired,
  RightButton: React.PropTypes.func.isRequired,
}),
navState: React.PropTypes.shape({
  routeStack: React.PropTypes.arrayOf(React.PropTypes.object),
  idStack: React.PropTypes.arrayOf(React.PropTypes.number),
  presentedIndex: React.PropTypes.number,
}),
style: View.propTypes.style,
}

Does anyone have/can anyone point me to an example of a properly formatted navigationBar node?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions