Просмотр исходного кода

Update readme for title Image on top bar (#1599)

Luong Dang Hai 7 лет назад
Родитель
Сommit
c680db472d
1 измененных файлов: 1 добавлений и 0 удалений
  1. 1
    0
      docs/top-level-api.md

+ 1
- 0
docs/top-level-api.md Просмотреть файл

@@ -37,6 +37,7 @@ Navigation.startTabBasedApp({
37 37
         right: 0 // optional, default is 0.
38 38
       },
39 39
       title: 'Screen One', // title of the screen as appears in the nav bar (optional)
40
+      titleImage: require('../img/titleImage.png'), // iOS only. navigation bar title image instead of the title text of the pushed screen (optional)
40 41
       navigatorStyle: {}, // override the navigator style for the tab screen, see "Styling the navigator" below (optional),
41 42
       navigatorButtons: {} // override the nav buttons for the tab screen, see "Adding buttons to the navigator" below (optional)
42 43
     },