Artal Druk преди 8 години
родител
ревизия
7ecf2a1547
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      README.md

+ 1
- 1
README.md Целия файл

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