Daniel Zlotin 6 years ago
parent
commit
222a07d5b8
1 changed files with 39 additions and 37 deletions
  1. 39
    37
      playground/src/screens/WelcomeScreen.js

+ 39
- 37
playground/src/screens/WelcomeScreen.js View File

@@ -106,50 +106,52 @@ class WelcomeScreen extends Component {
106 106
           }
107 107
         },
108 108
         center: {
109
-          bottomTabs: [
110
-            {
111
-              stack: {
112
-                children: [
113
-                  {
114
-                    component: {
115
-                      name: 'navigation.playground.TextScreen',
116
-                      passProps: {
117
-                        text: 'This is a side menu center screen tab 1'
109
+          bottomTabs: {
110
+            children: [
111
+              {
112
+                stack: {
113
+                  children: [
114
+                    {
115
+                      component: {
116
+                        name: 'navigation.playground.TextScreen',
117
+                        passProps: {
118
+                          text: 'This is a side menu center screen tab 1'
119
+                        }
118 120
                       }
119 121
                     }
120
-                  }
121
-                ]
122
-              }
123
-            },
124
-            {
125
-              stack: {
126
-                children: [
127
-                  {
128
-                    component: {
129
-                      name: 'navigation.playground.TextScreen',
130
-                      passProps: {
131
-                        text: 'This is a side menu center screen tab 2'
122
+                  ]
123
+                }
124
+              },
125
+              {
126
+                stack: {
127
+                  children: [
128
+                    {
129
+                      component: {
130
+                        name: 'navigation.playground.TextScreen',
131
+                        passProps: {
132
+                          text: 'This is a side menu center screen tab 2'
133
+                        }
132 134
                       }
133 135
                     }
134
-                  }
135
-                ]
136
-              }
137
-            },
138
-            {
139
-              stack: {
140
-                children: [
141
-                  {
142
-                    component: {
143
-                      name: 'navigation.playground.TextScreen',
144
-                      passProps: {
145
-                        text: 'This is a side menu center screen tab 3'
136
+                  ]
137
+                }
138
+              },
139
+              {
140
+                stack: {
141
+                  children: [
142
+                    {
143
+                      component: {
144
+                        name: 'navigation.playground.TextScreen',
145
+                        passProps: {
146
+                          text: 'This is a side menu center screen tab 3'
147
+                        }
146 148
                       }
147 149
                     }
148
-                  }
149
-                ]
150
+                  ]
151
+                }
150 152
               }
151
-            }
152
-          ]
153
+            ]
154
+          }
153 155
         },
154 156
         right: {
155 157
           component: {