浏览代码

Fix wrong title declaration in TopTabs screen

Guy Carmeli 6 年前
父节点
当前提交
53126504d0
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      playground/src/screens/WelcomeScreen.js

+ 2
- 3
playground/src/screens/WelcomeScreen.js 查看文件

@@ -378,9 +378,7 @@ class WelcomeScreen extends Component {
378 378
               },
379 379
               options: {
380 380
                 topTab: {
381
-                  title: {
382
-                    text: 'Tab 1'
383
-                  }
381
+                  title: 'Tab 1'
384 382
                 },
385 383
                 topBar: {
386 384
                   title: {
@@ -434,6 +432,7 @@ class WelcomeScreen extends Component {
434 432
           topTabs: {
435 433
             selectedTabColor: '#12766b',
436 434
             unselectedTabColor: 'red',
435
+            height: 220,
437 436
             fontSize: 6
438 437
           }
439 438
         }