Ver código fonte

Update adding-buttons-to-the-navigator.md

Guy Carmeli 7 anos atrás
pai
commit
efb3bf7920
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      docs/adding-buttons-to-the-navigator.md

+ 1
- 1
docs/adding-buttons-to-the-navigator.md Ver arquivo

@@ -13,7 +13,7 @@ class FirstTabScreen extends Component {
13 13
         disabled: true, // optional, used to disable the button (appears faded and doesn't interact)
14 14
         disableIconTint: true, // optional, by default the image colors are overridden and tinted to navBarButtonColor, set to true to keep the original image colors
15 15
         showAsAction: 'ifRoom', // optional, Android only. Control how the button is displayed in the Toolbar. Accepted valued: 'ifRoom' (default) - Show this item as a button in an Action Bar if the system decides there is room for it. 'always' - Always show this item as a button in an Action Bar. 'withText' - When this item is in the action bar, always show it with a text label even if it also has an icon specified. 'never' - Never show this item as a button in an Action Bar.
16
-        buttonColor: 'blue', // Set color for the button (can also be used in setButtons function to set different button style programatically)
16
+        buttonColor: 'blue', // Optional, iOS only. Set color for the button (can also be used in setButtons function to set different button style programatically)
17 17
         buttonFontSize: 14, // Set font size for the button (can also be used in setButtons function to set different button style programatically)
18 18
         buttonFontWeight: '600', // Set font weight for the button (can also be used in setButtons function to set different button style programatically)
19 19
       },