Artal Druk před 8 roky
rodič
revize
7ecf2a1547
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      README.md

+ 1
- 1
README.md Zobrazit soubor

@@ -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)