瀏覽代碼

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