Explorar el Código

Fix wrong title declaration in TopTabs screen

Guy Carmeli hace 6 años
padre
commit
53126504d0
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2
    3
      playground/src/screens/WelcomeScreen.js

+ 2
- 3
playground/src/screens/WelcomeScreen.js Ver fichero

@@ -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
         }