Skip to content

Commit

Permalink
Add note about Android left button icon constraint (wix#2963)
Browse files Browse the repository at this point in the history
  • Loading branch information
getaaron authored and guyca committed Apr 4, 2018
1 parent 654b827 commit fa0015a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/adding-buttons-to-the-navigator.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,16 @@ More information about these glyphs can be found in [Apple's Human Interface Gui
##### Android left button
On Android, four button types are supported by default without the need to provide an icon. You can use them by specifying one of the following ids in your left button definition:
* back
* cancel
* accept
* sideMenu
Except for these 4 cases, the left button **must** have an icon on Android. It can't be a text only button.
#### Custom Navigation Buttons
On iOS, react-native-navigation uses `UIBarButtonItem` to display all items in the navigation bar. Instead of using images or text for normal `UIBarButtonItem`s, you can supply a custom component to be displayed within a custom view of a `UIBarButtonItem`, using the `component` property when specifying a navigation button.
Expand Down

0 comments on commit fa0015a

Please sign in to comment.