Explorar el Código

Update screen-api.md

Guy Carmeli hace 7 años
padre
commit
2e590bb6e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      docs/screen-api.md

+ 1
- 1
docs/screen-api.md Ver fichero

@@ -209,7 +209,7 @@ Change the tab icon on a bottom tab.
209 209
 
210 210
 ```js
211 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 213
   icon: require('../img/one.png'), // local image asset for the tab icon unselected state (optional)
214 214
   selectedIcon: require('../img/one_selected.png'), // local image asset for the tab icon selected state (optional, iOS only)
215 215
 });