Bläddra i källkod

Update topBar-buttons.md

Yogev Ben David 6 år sedan
förälder
incheckning
75e06d7a4b
No account linked to committer's email address
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      docs/docs/topBar-buttons.md

+ 2
- 2
docs/docs/topBar-buttons.md Visa fil

@@ -9,7 +9,7 @@ The following options can be used to customise buttons.
9 9
   component: {
10 10
     name: 'example.CustomButtonComponent'
11 11
   },
12
-  title: 'Button one',
12
+  text: 'Button one',
13 13
   enabled: true,
14 14
   disableIconTint: false,
15 15
   color: 'red',
@@ -74,7 +74,7 @@ Navigation.mergeOptions(this.props.componentId, {
74 74
     rightButtons: [
75 75
       {
76 76
         id: 'myDynamicButton',
77
-        title: 'My Button'
77
+        text: 'My Button'
78 78
       }
79 79
     ]
80 80
   }