Ver código fonte

Update README.md

Artal Druk 8 anos atrás
pai
commit
7ecf2a1547
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      README.md

+ 1
- 1
README.md Ver arquivo

@@ -284,7 +284,7 @@ Push a new screen into this screen's navigation stack.
284 284
 this.props.navigator.push({
285 285
   screen: 'example.ScreenThree', // unique ID registered with Navigation.registerScreen
286 286
   title: undefined, // navigation bar title of the pushed screen (optional)
287
-  titleImage: undefined, //navigation bar title image instead of the title text of the pushed screen (optional)
287
+  titleImage: require('../../img/my_image.png'), //navigation bar title image instead of the title text of the pushed screen (optional)
288 288
   passProps: {}, // simple serializable object that will pass as props to the pushed screen (optional)
289 289
   animated: true, // does the push have transition animation or does it happen immediately (optional)
290 290
   backButtonTitle: undefined, // override the back button title (optional)