Browse Source

Update README.md

Artal Druk 8 years ago
parent
commit
7ecf2a1547
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      README.md

+ 1
- 1
README.md View File

284
 this.props.navigator.push({
284
 this.props.navigator.push({
285
   screen: 'example.ScreenThree', // unique ID registered with Navigation.registerScreen
285
   screen: 'example.ScreenThree', // unique ID registered with Navigation.registerScreen
286
   title: undefined, // navigation bar title of the pushed screen (optional)
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
   passProps: {}, // simple serializable object that will pass as props to the pushed screen (optional)
288
   passProps: {}, // simple serializable object that will pass as props to the pushed screen (optional)
289
   animated: true, // does the push have transition animation or does it happen immediately (optional)
289
   animated: true, // does the push have transition animation or does it happen immediately (optional)
290
   backButtonTitle: undefined, // override the back button title (optional)
290
   backButtonTitle: undefined, // override the back button title (optional)