For example, the following code will start a single screen app with two screens pushed into the stack. ```js Navigation.startSingleScreenApp({ components: [ { screen: 'example.Types', title: 'Navigation Types', overrideBackPress: true }, { screen: 'example.Types.CustomButtonScreen', title: 'Custom Buttons' } ] }); ```
|
|
||
106 |
|
106 |
|
107 |
|
107 |
|
108 |
|
108 |
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
109 |
|
112 |
|
110 |
|
113 |
|
111 |
|
114 |
|
|
|
||
85 |
|
85 |
|
86 |
|
86 |
|
87 |
|
87 |
|
|
88 |
|
|
|
89 |
|
|
88 |
|
90 |
|
89 |
|
91 |
|
90 |
|
92 |
|
91 |
|
93 |
|
92 |
|
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
93 |
|
100 |
|
94 |
|
101 |
|
95 |
|
102 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
7 |
|
7 |
|
8 |
|
8 |
|
9 |
|
|
10 |
|
|
9 |
|
11 |
|
10 |
|
12 |
|
11 |
|
13 |
|
|
|
||
42 |
|
42 |
|
43 |
|
43 |
|
44 |
|
44 |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
45 |
|
48 |
|
46 |
|
49 |
|
47 |
|
50 |
|
|
|
||
105 |
|
108 |
|
106 |
|
109 |
|
107 |
|
110 |
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
108 |
|
120 |
|
|
|
||
95 |
|
95 |
|
96 |
|
96 |
|
97 |
|
97 |
|
|
98 |
|
|
98 |
|
99 |
|
99 |
|
100 |
|
100 |
|
101 |
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
101 |
|
106 |
|
102 |
|
107 |
|
103 |
|
108 |
|
|
|
||
11 |
|
11 |
|
12 |
|
12 |
|
13 |
|
13 |
|
14 |
|
|
|
15 |
|
|
|
|
14 |
|
|
|
15 |
|
|
16 |
|
16 |
|
17 |
|
17 |
|
18 |
|
18 |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
19 |
|
41 |
|
20 |
|
42 |
|
21 |
|
43 |
|
22 |
|
44 |
|
23 |
|
|
|
24 |
|
45 |
|
25 |
|
46 |
|
26 |
|
47 |
|
27 |
|
48 |
|
28 |
|
49 |
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
40 |
|
53 |
|
41 |
|
54 |
|
42 |
|
55 |
|
|
|
||
297 |
|
310 |
|
298 |
|
311 |
|
299 |
|
312 |
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
|
305 |
|
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
306 |
|
324 |
|
307 |
|
|
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
325 |
|
318 |
|
326 |
|
319 |
|
327 |
|
|
|
||
327 |
|
335 |
|
328 |
|
336 |
|
329 |
|
337 |
|
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
|
|
|
346 |
|
|
|
347 |
|
|
|
348 |
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
330 |
|
358 |
|
331 |
|
359 |
|
332 |
|
360 |
|
|
|
||
553 |
|
581 |
|
554 |
|
582 |
|
555 |
|
583 |
|
556 |
|
|
|
557 |
|
584 |
|
558 |
|
585 |
|
559 |
|
586 |
|