Browse Source

Document backButton api

Guy Carmeli 6 years ago
parent
commit
739ec30177
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      docs/docs/styling.md

+ 5
- 6
docs/docs/styling.md View File

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,