Guy Carmeli 6 vuotta sitten
vanhempi
commit
98053e60ec
1 muutettua tiedostoa jossa 3 lisäystä ja 10 poistoa
  1. 3
    10
      docs/docs/styling.md

+ 3
- 10
docs/docs/styling.md Näytä tiedosto

@@ -75,16 +75,6 @@ Navigation.mergeOptions(this.props.componentId, {
75 75
     buttonColor: 'black',
76 76
     drawBehind: false,
77 77
     testID: 'topBar',
78
-    searchBar: true, // iOS 11+ native UISearchBar inside topBar
79
-    searchBarHiddenWhenScrolling: true,
80
-    searchBarPlaceholder: 'Search', // iOS 11+ SearchBar placeholder
81
-    // iOS 11+ Large Title
82
-    largeTitle: {
83
-      visible: true,
84
-      fontSize: 30,
85
-      color: 'red',
86
-      fontFamily: 'Helvetica'
87
-    },
88 78
     title: {
89 79
       text: 'Title',
90 80
       fontSize: 14,
@@ -187,6 +177,9 @@ Navigation.mergeOptions(this.props.componentId, {
187 177
       title: 'Back',
188 178
       showTitle: false
189 179
     },
180
+    searchBar: true, // iOS 11+ native UISearchBar inside topBar
181
+    searchBarHiddenWhenScrolling: true,
182
+    searchBarPlaceholder: 'Search', // iOS 11+ SearchBar placeholder
190 183
     largeTitle: {
191 184
       visible: true,
192 185
       fontSize: 30,