Browse Source

[v2][docs] Improving documentation on side menu config (#3773)

Andrew Cole 5 years ago
parent
commit
549f15fdb1
1 changed files with 7 additions and 2 deletions
  1. 7
    2
      docs/docs/layout-types.md

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

137
 
137
 
138
 ## sideMenu
138
 ## sideMenu
139
 
139
 
140
-Expect center, left and right layouts
140
+Expect center, left and right layouts. center: { stack: ... } is required to have a topBar in center screen of a sideMenu app.
141
 
141
 
142
 ```js
142
 ```js
143
 const sideMenu = {
143
 const sideMenu = {
145
     component: {}
145
     component: {}
146
   },
146
   },
147
   center: {
147
   center: {
148
-    stack: {}
148
+    stack: {
149
+      options: {},
150
+      children: [{
151
+        component: {}
152
+      }]
153
+    }
149
   },
154
   },
150
   right: {
155
   right: {
151
     component: {}
156
     component: {}