Daniel Zlotin před 6 roky
rodič
revize
cb8a36f97f
1 změnil soubory, kde provedl 5 přidání a 3 odebrání
  1. 5
    3
      playground/src/screens/ModalScreen.js

+ 5
- 3
playground/src/screens/ModalScreen.js Zobrazit soubor

@@ -83,9 +83,11 @@ class ModalScreen extends Component {
83 83
 
84 84
   onClickPushScreen() {
85 85
     Navigation.push(this.props.containerId, {
86
-      name: `navigation.playground.PushedScreen`,
87
-      passProps: {
88
-        text: 'Pushed from modal'
86
+      component: {
87
+        name: `navigation.playground.PushedScreen`,
88
+        passProps: {
89
+          text: 'Pushed from modal'
90
+        }
89 91
       }
90 92
     });
91 93
   }