This commit adds support to update props of screen or custom button/title via the mergeOptions api. ```js Navigation.mergeOptions('myComponentId', { passProps: { text: 'new value' } }); ```
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
4 | 5 |
|
5 | 6 |
|
6 | 7 |
|
|
||
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
35 |
|
|
35 |
|
|
36 | 36 |
|
37 |
|
|
37 |
|
|
38 | 38 |
|
39 | 39 |
|
40 | 40 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
||
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 | 30 |
|
56 | 31 |
|
57 | 32 |
|
|
||
88 | 63 |
|
89 | 64 |
|
90 | 65 |
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 | 66 |
|
98 | 67 |
|
99 | 68 |
|
|
||
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
58 |
|
|
58 |
|
|
59 | 59 |
|
60 | 60 |
|
61 | 61 |
|
|
||
64 | 64 |
|
65 | 65 |
|
66 | 66 |
|
67 |
|
|
67 |
|
|
68 | 68 |
|
69 | 69 |
|
70 | 70 |
|
|
||
135 | 135 |
|
136 | 136 |
|
137 | 137 |
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
138 | 148 |
|
|
||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
17 |
|
|
18 |
|
|
17 |
|
|
18 |
|
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
21 |
|
|
22 | 22 |
|
23 | 23 |
|
24 |
|
|
24 | 25 |
|
25 | 26 |
|
26 | 27 |
|
27 | 28 |
|
29 |
|
|
28 | 30 |
|
29 | 31 |
|
30 | 32 |
|
|
||
72 | 74 |
|
73 | 75 |
|
74 | 76 |
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
75 | 84 |
|
|
||
96 | 96 |
|
97 | 97 |
|
98 | 98 |
|
99 |
|
|
99 |
|
|
100 |
|
|
100 | 101 |
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
101 | 108 |
|
102 |
|
|
103 | 109 |
|
104 | 110 |
|
105 |
|
|
106 | 111 |
|
107 | 112 |
|
108 | 113 |
|
|
||
157 | 162 |
|
158 | 163 |
|
159 | 164 |
|
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
160 | 171 |
|
161 | 172 |
|
162 | 173 |
|
|
||
179 | 190 |
|
180 | 191 |
|
181 | 192 |
|
182 |
|
|
193 |
|
|
183 | 194 |
|
184 | 195 |
|
185 | 196 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
13 | 17 |
|
14 | 18 |
|
15 | 19 |
|
|
||
35 | 39 |
|
36 | 40 |
|
37 | 41 |
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
38 | 47 |
|
39 | 48 |
|
40 | 49 |
|
41 |
|
|
50 |
|
|
42 | 51 |
|
43 | 52 |
|
44 | 53 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 | 4 |
|
4 | 5 |
|
5 | 6 |
|
|
||
28 | 29 |
|
29 | 30 |
|
30 | 31 |
|
31 |
|
|
32 |
|
|
32 | 33 |
|
34 |
|
|
35 |
|
|
36 |
|
|
33 | 37 |
|
34 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
35 | 43 |
|
36 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
37 | 61 |
|
38 | 62 |
|
|
||
1 | 1 |
|
2 |
|
|
2 | 3 |
|
3 | 4 |
|
4 | 5 |
|
5 | 6 |
|
7 |
|
|
6 | 8 |
|
7 | 9 |
|
8 | 10 |
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
9 | 16 |
|
10 | 17 |
|
11 | 18 |
|
12 | 19 |
|
13 | 20 |
|
14 | 21 |
|
15 |
|
|
22 |
|
|
16 | 23 |
|
24 |
|
|
17 | 25 |
|
18 | 26 |
|
19 | 27 |
|
|
||
23 | 31 |
|
24 | 32 |
|
25 | 33 |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
26 | 42 |
|
|
||
536 | 536 |
|
537 | 537 |
|
538 | 538 |
|
539 |
|
|
539 |
|
|
540 | 540 |
|
541 |
|
|
541 |
|
|
542 | 542 |
|
543 |
|
|
543 |
|
|
544 | 544 |
|
545 | 545 |
|
546 | 546 |
|
547 |
|
|
547 |
|
|
548 | 548 |
|
549 | 549 |
|
550 | 550 |
|
|
||
1019 | 1019 |
|
1020 | 1020 |
|
1021 | 1021 |
|
1022 |
|
|
1023 |
|
|
1024 |
|
|
1025 |
|
|
1022 | 1026 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
8 | 7 |
|
9 | 8 |
|
10 | 9 |
|
11 | 10 |
|
12 | 11 |
|
13 |
|
|
14 |
|
|
15 |
|
|
16 | 12 |
|
17 | 13 |
|
18 | 14 |
|
19 | 15 |
|
20 |
|
|
21 |
|
|
16 |
|
|
22 | 17 |
|
23 | 18 |
|
24 | 19 |
|
|
||
29 | 24 |
|
30 | 25 |
|
31 | 26 |
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
27 |
|
|
59 | 28 |
|
60 | 29 |
|
61 | 30 |
|
|
||
71 | 40 |
|
72 | 41 |
|
73 | 42 |
|
74 |
|
|
75 |
|
|
43 |
|
|
76 | 44 |
|
77 | 45 |
|
78 | 46 |
|
79 | 47 |
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 | 48 |
|
105 | 49 |
|
106 | 50 |
|
|
||
149 | 93 |
|
150 | 94 |
|
151 | 95 |
|
96 |
|
|
97 |
|
|
152 | 98 |
|
153 | 99 |
|
154 | 100 |
|
|
||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 |
|
|
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
|
||
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 |
|
|
26 | 27 |
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
|
30 | 31 |
|
31 | 32 |
|
32 |
|
|
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
|
||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
|
|
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
|
||
130 | 131 |
|
131 | 132 |
|
132 | 133 |
|
134 |
|
|
135 |
|
|
133 | 136 |
|
134 | 137 |
|
135 | 138 |
|