Ver código fonte

Update top-level-api.md

Guy Carmeli 7 anos atrás
pai
commit
daf75a9c2a
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3
    1
      docs/top-level-api.md

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

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