Add header.left property (#29)

* Add header.left property

* Add docs

* Updates

* Update

* Remove unused param

* Update'

* fix

* Make sure to guard undefined defaultProps
This commit is contained in:
Mike Grabowski
2017-01-27 17:48:26 +01:00
committed by Mateusz Zatorski
parent c34a6d5682
commit 7c0fcc6cf5
3 changed files with 24 additions and 4 deletions

View File

@@ -117,7 +117,8 @@ All `navigationOptions` for the `StackNavigator`:
- `header` - a config object for the header bar:
- `visible` - Boolean toggle of header visibility. Only works when `headerMode` is `screen`.
- `title` - Title string used by the navigation bar, or a custom React component
- `right` - Custom component displayed on the right side of the header
- `right` - Custom React Element to display on the right side of the header
- `left` - Custom React Element to display on the left side of the header
- `style` - Style object for the navigation bar
### Examples