소스 검색

Update screen-api.md

Guy Carmeli 8 년 전
부모
커밋
2e590bb6e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      docs/screen-api.md

+ 1
- 1
docs/screen-api.md 파일 보기

209
 
209
 
210
 ```js
210
 ```js
211
 this.props.navigator.setTabButton({
211
 this.props.navigator.setTabButton({
212
-  tabIndex: 0, // (optional) if missing, the badge will be added to this screen's tab
212
+  tabIndex: 0, // (optional) if missing, the icon will be added to this screen's tab
213
   icon: require('../img/one.png'), // local image asset for the tab icon unselected state (optional)
213
   icon: require('../img/one.png'), // local image asset for the tab icon unselected state (optional)
214
   selectedIcon: require('../img/one_selected.png'), // local image asset for the tab icon selected state (optional, iOS only)
214
   selectedIcon: require('../img/one_selected.png'), // local image asset for the tab icon selected state (optional, iOS only)
215
 });
215
 });