|
@@ -9,22 +9,18 @@ Push a new screen into this screen's navigation stack.
|
9
|
9
|
|
10
|
10
|
```js
|
11
|
11
|
Navigation.push(this.props.componentId, {
|
12
|
|
- stack: {
|
13
|
|
- children: [{
|
14
|
|
- component: {
|
15
|
|
- name: 'example.PushedScreen',
|
16
|
|
- passProps: {
|
17
|
|
- text: 'Pushed screen'
|
18
|
|
- },
|
19
|
|
- options: {
|
20
|
|
- topBar: {
|
21
|
|
- title: {
|
22
|
|
- text: 'Pushed screen title'
|
23
|
|
- }
|
24
|
|
- }
|
|
12
|
+ component: {
|
|
13
|
+ name: 'example.PushedScreen',
|
|
14
|
+ passProps: {
|
|
15
|
+ text: 'Pushed screen'
|
|
16
|
+ },
|
|
17
|
+ options: {
|
|
18
|
+ topBar: {
|
|
19
|
+ title: {
|
|
20
|
+ text: 'Pushed screen title'
|
25
|
21
|
}
|
26
|
22
|
}
|
27
|
|
- }]
|
|
23
|
+ }
|
28
|
24
|
}
|
29
|
25
|
});
|
30
|
26
|
```
|