Browse Source

fix push params

Daniel Zlotin 6 years ago
parent
commit
cb8a36f97f
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      playground/src/screens/ModalScreen.js

+ 5
- 3
playground/src/screens/ModalScreen.js View File

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