Bläddra i källkod

Update top-level-api.md

Guy Carmeli 7 år sedan
förälder
incheckning
daf75a9c2a
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3
    1
      docs/top-level-api.md

+ 3
- 1
docs/top-level-api.md Visa fil

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