Explorar el Código

Update top-level-api.md

Guy Carmeli hace 7 años
padre
commit
daf75a9c2a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3
    1
      docs/top-level-api.md

+ 3
- 1
docs/top-level-api.md Ver fichero

@@ -56,7 +56,9 @@ Navigation.startTabBasedApp({
56 56
     initialTabIndex: 1, // optional, the default selected bottom tab. Default: 0
57 57
   },
58 58
   appStyle: {
59
-    orientation: 'portrait' // Sets a specific orientation to the entire app. Default: 'auto'. Supported values: 'auto', 'landscape', 'portrait'
59
+    orientation: 'portrait', // Sets a specific orientation to the entire app. Default: 'auto'. Supported values: 'auto', 'landscape', 'portrait'
60
+    bottomTabBadgeTextColor: 'red', // Optional, change badge text color. Android onlly
61
+    bottomTabBadgeBackgroundColor: 'green' // Optional, change badge background color. Android onlly
60 62
   },
61 63
   drawer: { // optional, add this if you want a side menu drawer in your app
62 64
     left: { // optional, define if you want a drawer from the left