Browse Source

Fix BottomTabs documentation

title was renamed to text
Guy Carmeli 6 years ago
parent
commit
b858b34548
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      docs/docs/layout-types.md
  2. 2
    2
      docs/docs/top-level-api.md

+ 2
- 2
docs/docs/layout-types.md View File

48
         children: [],
48
         children: [],
49
         options: {
49
         options: {
50
           bottomTab: {
50
           bottomTab: {
51
-            title: 'Tab 1',
51
+            text: 'Tab 1',
52
             icon: require('../images/one.png')
52
             icon: require('../images/one.png')
53
           }
53
           }
54
         }
54
         }
59
         name: 'secondTabScreen',
59
         name: 'secondTabScreen',
60
         options: {
60
         options: {
61
           bottomTab: {
61
           bottomTab: {
62
-            title: 'Tab 2',
62
+            text: 'Tab 2',
63
             icon: require('../images/two.png')
63
             icon: require('../images/two.png')
64
           }
64
           }
65
         }
65
         }

+ 2
- 2
docs/docs/top-level-api.md View File

23
           }],
23
           }],
24
           options: {
24
           options: {
25
             bottomTab: {
25
             bottomTab: {
26
-              title: 'Tab 1',
26
+              text: 'Tab 1',
27
               icon: require('../images/one.png'),
27
               icon: require('../images/one.png'),
28
               testID: 'FIRST_TAB_BAR_BUTTON'
28
               testID: 'FIRST_TAB_BAR_BUTTON'
29
             }
29
             }
38
           },
38
           },
39
           options: {
39
           options: {
40
             bottomTab: {
40
             bottomTab: {
41
-              title: 'Tab 2',
41
+              text: 'Tab 2',
42
               icon: require('../images/two.png'),
42
               icon: require('../images/two.png'),
43
               testID: 'SECOND_TAB_BAR_BUTTON'
43
               testID: 'SECOND_TAB_BAR_BUTTON'
44
             }
44
             }