浏览代码

Added missing curly bracket (#2859)

Added a missing curly bracket in top tabs example.
Azeem Hassni 6 年前
父节点
当前提交
50acd74a75
共有 1 个文件被更改,包括 13 次插入12 次删除
  1. 13
    12
      docs/android-specific-use-cases.md

+ 13
- 12
docs/android-specific-use-cases.md 查看文件

@@ -160,18 +160,19 @@ Specify `topTab` in the screen object you use when starting your app:
160 160
 ```js
161 161
 Navigation.startSingleScreenApp({
162 162
     screen: {
163
-    screen: 'example.collapsingReactViewTopTabsScreen',
164
-    title: 'Collapsing React TopTabs View',
165
-    topTabs: [
166
-      {
167
-        screenId: 'example.ListScreen',
168
-        icon: require('../img/list.png')
169
-      },
170
-      {
171
-        screenId: 'example.secondTabScreen',
172
-        icon: require('../img/list.png')
173
-      }
174
-    ]
163
+        screen: 'example.collapsingReactViewTopTabsScreen',
164
+        title: 'Collapsing React TopTabs View',
165
+        topTabs: [
166
+          {
167
+            screenId: 'example.ListScreen',
168
+            icon: require('../img/list.png')
169
+          },
170
+          {
171
+            screenId: 'example.secondTabScreen',
172
+            icon: require('../img/list.png')
173
+          }
174
+        ]
175
+    }
175 176
 });
176 177
 ```
177 178
 ## Shared Element Transition