Przeglądaj źródła

Document backButton api

Guy Carmeli 6 lat temu
rodzic
commit
739ec30177
1 zmienionych plików z 5 dodań i 6 usunięć
  1. 5
    6
      docs/docs/styling.md

+ 5
- 6
docs/docs/styling.md Wyświetl plik

77
     searchBar: true, // iOS 11+ native UISearchBar inside topBar
77
     searchBar: true, // iOS 11+ native UISearchBar inside topBar
78
     searchBarHiddenWhenScrolling: true,
78
     searchBarHiddenWhenScrolling: true,
79
     searchBarPlaceholder: 'Search', // iOS 11+ SearchBar placeholder
79
     searchBarPlaceholder: 'Search', // iOS 11+ SearchBar placeholder
80
-    component: {
81
-      name: 'example.CustomTopBar'
82
-    },
83
     largeTitle: {
80
     largeTitle: {
84
       visible: true,
81
       visible: true,
85
       fontSize: 30,
82
       fontSize: 30,
103
       fontFamily: 'Helvetica',
100
       fontFamily: 'Helvetica',
104
       alignment: 'center'
101
       alignment: 'center'
105
     },
102
     },
103
+    backButton: {
104
+      icon: require('icon.png'),
105
+      visible: true
106
+    },
106
     background: {
107
     background: {
107
       color: '#00ff00',
108
       color: '#00ff00',
108
       component: {
109
       component: {
173
     noBorder: false,
174
     noBorder: false,
174
     blur: false,
175
     blur: false,
175
     backButton: {
176
     backButton: {
176
-      image: require('icon.png'),
177
-      visible: true,
178
       title: 'Back',
177
       title: 'Back',
179
-      hideTitle: false,
178
+      showTitle: false
180
     },
179
     },
181
     largeTitle: {
180
     largeTitle: {
182
       visible: true,
181
       visible: true,