mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-04 20:21:07 +08:00
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:
committed by
Mateusz Zatorski
parent
c34a6d5682
commit
7c0fcc6cf5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user