|
@@ -543,7 +543,8 @@ class FirstTabScreen extends Component {
|
543
|
543
|
title: 'Edit', // for a textual button, provide the button title (label)
|
544
|
544
|
id: 'edit', // id for this button, given in onNavigatorEvent(event) to help understand which button was clicked
|
545
|
545
|
testID: 'e2e_rules', // optional, used to locate this view in end-to-end tests
|
546
|
|
- disabled: true // optional, used to disable the button (appears faded and doesn't interact)
|
|
546
|
+ disabled: true, // optional, used to disable the button (appears faded and doesn't interact)
|
|
547
|
+ disableIconTint: true, // optional, by default the image colors are overridden and tinted to navBarButtonColor, set to true to keep the original image colors
|
547
|
548
|
},
|
548
|
549
|
{
|
549
|
550
|
icon: require('../../img/navicon_add.png'), // for icon button, provide the local image asset name
|
|
@@ -582,7 +583,8 @@ class FirstTabScreen extends Component {
|
582
|
583
|
icon: require('../../img/navicon_edit.png'), // if you want an image button
|
583
|
584
|
id: 'compose', // id of the button which will pass to your press event handler
|
584
|
585
|
testID: 'e2e_is_awesome', // if you have e2e tests, use this to find your button
|
585
|
|
- disabled: true // optional, used to disable the button (appears faded and doesn't interact)
|
|
586
|
+ disabled: true, // optional, used to disable the button (appears faded and doesn't interact)
|
|
587
|
+ disableIconTint: true, // optional, by default the image colors are overridden and tinted to navBarButtonColor, set to true to keep the original image colors
|
586
|
588
|
}],
|
587
|
589
|
leftButtons: [] // buttons for the left side of the nav bar (optional)
|
588
|
590
|
}
|