Преглед изворни кода

Add forceTitlesDisplay to docs (#1091)

Guy Carmeli пре 7 година
родитељ
комит
1597c9cd1b
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1
    2
      docs/styling-the-tab-bar.md

+ 1
- 2
docs/styling-the-tab-bar.md Прегледај датотеку

@@ -20,6 +20,7 @@ Navigation.startTabBasedApp({
20 20
   tabBarBackgroundColor: '#551A8B' // change the background color of the tab bar
21 21
   tabBarTranslucent: false // change the translucent of the tab bar to false
22 22
   tabBarTextFontFamily: 'Avenir-Medium' //change the tab font family
23
+  forceTitlesDisplay: true // Android only. If true - Show all bottom tab labels. If false - only the selected tab's label is visible.
23 24
 }
24 25
 ```
25 26
 
@@ -37,5 +38,3 @@ Navigation.startTabBasedApp({
37 38
 ...
38 39
 }
39 40
 ```
40
-
41
-All supported styles are defined [here](https://github.com/wix/react-native-controllers#styling-tab-bar). There's also an example project there showcasing all the different styles.