Browse Source

Update topBar-buttons.md (#4068)

add missing topBar
Laurent 6 years ago
parent
commit
44c9b4fbe9
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      docs/docs/topBar-buttons.md

+ 8
- 6
docs/docs/topBar-buttons.md View File

50
   component: {
50
   component: {
51
     name: 'navigation.playground.PushedScreen',
51
     name: 'navigation.playground.PushedScreen',
52
     options: {
52
     options: {
53
-      rightButtons: [
54
-        {
55
-          id: 'buttonOne',
56
-          icon: require('icon.png')
57
-        }
58
-      ]
53
+      topBar: {
54
+        rightButtons: [
55
+          {
56
+            id: 'buttonOne',
57
+            icon: require('icon.png')
58
+          }
59
+        ]
60
+      }
59
     }
61
     }
60
   }
62
   }
61
 }
63
 }