Skip to content

Commit 5da3d90

Browse files
committed
Add backButtonProps to README.md
1 parent 5995a7f commit 5da3d90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ The **`<Router />`** object used to initialize the navigation can take the follo
118118
- `borderBottomWidth`: Apply a bottom border to your navbar.
119119
- `borderColor`: Apply a border color to your bottom border.
120120
- `backButtonComponent`: By default, the navigation bar will display a simple "Back" text for the back button. To change this, you can specify your own backButton component (like in the Twitter app).
121+
- `backButtonProps`: If you set a `backButtonComponent` you can use this property to pass props to that component.
121122
- `rightCorner`: If you have the same occuring action buttons on the right side of your navigation bar (like the Twitter "Compose"-button), you can specify a component for that view.
122123
- `customAction`: A special callback prop for your action buttons (this can be handy for triggering a side menu for example). The action gets triggered from your custom `leftCorner` or `rightCorner` components by calling `this.props.customAction("someActionName")` from them. It is then picked up like this: `<Router customAction={this.doSomething} />`.
123124
- `hideNavigationBar`: Hide the navigation bar, always

0 commit comments

Comments
 (0)