|
@@ -36,10 +36,12 @@ class PushedScreen extends Component {
|
36
|
36
|
|
37
|
37
|
async onClickPush() {
|
38
|
38
|
await Navigation.push(this.props.componentId, {
|
39
|
|
- name: 'navigation.playground.PushedScreen',
|
40
|
|
- passProps: {
|
41
|
|
- stackPosition: this.getStackPosition() + 1,
|
42
|
|
- previousScreenIds: _.concat([], this.props.previousScreenIds || [], this.props.componentId)
|
|
39
|
+ component: {
|
|
40
|
+ name: 'navigation.playground.PushedScreen',
|
|
41
|
+ passProps: {
|
|
42
|
+ stackPosition: this.getStackPosition() + 1,
|
|
43
|
+ previousScreenIds: _.concat([], this.props.previousScreenIds || [], this.props.componentId)
|
|
44
|
+ }
|
43
|
45
|
}
|
44
|
46
|
});
|
45
|
47
|
}
|