|
@@ -39,28 +39,28 @@ export default class App {
|
39
|
39
|
screen: {
|
40
|
40
|
screen: 'example.LoginScreen',
|
41
|
41
|
title: 'Login',
|
42
|
|
- navigatorStyle: {},
|
43
|
|
- passProps: {
|
44
|
|
- str: 'This is a prop passed in \'startSingleScreenApp()\'!',
|
45
|
|
- obj: {
|
46
|
|
- str: 'This is a prop passed in an object!',
|
47
|
|
- arr: [
|
48
|
|
- {
|
49
|
|
- str: 'This is a prop in an object in an array in an object!'
|
50
|
|
- }
|
|
42
|
+ navigatorStyle: {}
|
|
43
|
+ },
|
|
44
|
+ passProps: {
|
|
45
|
+ str: 'This is a prop passed in \'startSingleScreenApp()\'!',
|
|
46
|
+ obj: {
|
|
47
|
+ str: 'This is a prop passed in an object!',
|
|
48
|
+ arr: [
|
|
49
|
+ {
|
|
50
|
+ str: 'This is a prop in an object in an array in an object!'
|
|
51
|
+ }
|
|
52
|
+ ],
|
|
53
|
+ arr2: [
|
|
54
|
+ [
|
|
55
|
+ 'array of strings',
|
|
56
|
+ 'with two strings'
|
51
|
57
|
],
|
52
|
|
- arr2: [
|
53
|
|
- [
|
54
|
|
- 'array of strings',
|
55
|
|
- 'with two strings'
|
56
|
|
- ],
|
57
|
|
- [
|
58
|
|
- 1, 2, 3
|
59
|
|
- ]
|
|
58
|
+ [
|
|
59
|
+ 1, 2, 3
|
60
|
60
|
]
|
61
|
|
- },
|
62
|
|
- num: 1234
|
63
|
|
- }
|
|
61
|
+ ]
|
|
62
|
+ },
|
|
63
|
+ num: 1234
|
64
|
64
|
}
|
65
|
65
|
});
|
66
|
66
|
return;
|
|
@@ -74,18 +74,6 @@ export default class App {
|
74
|
74
|
selectedIcon: require('../img/one_selected.png'),
|
75
|
75
|
title: 'Screen One',
|
76
|
76
|
navigatorStyle: {},
|
77
|
|
- passProps: {
|
78
|
|
- str: 'This is a prop passed in \'startTabBasedApp\'!',
|
79
|
|
- obj: {
|
80
|
|
- str: 'This is a prop passed in an object!',
|
81
|
|
- arr: [
|
82
|
|
- {
|
83
|
|
- str: 'This is a prop in an object in an array in an object!'
|
84
|
|
- }
|
85
|
|
- ]
|
86
|
|
- },
|
87
|
|
- num: 1234
|
88
|
|
- }
|
89
|
77
|
},
|
90
|
78
|
{
|
91
|
79
|
label: 'Two',
|
|
@@ -94,20 +82,20 @@ export default class App {
|
94
|
82
|
selectedIcon: require('../img/two_selected.png'),
|
95
|
83
|
title: 'Screen Two',
|
96
|
84
|
navigatorStyle: {},
|
97
|
|
- passProps: {
|
98
|
|
- str: 'This is a prop passed in \'startTabBasedApp\'!',
|
99
|
|
- obj: {
|
100
|
|
- str: 'This is a prop passed in an object!',
|
101
|
|
- arr: [
|
102
|
|
- {
|
103
|
|
- str: 'This is a prop in an object in an array in an object!'
|
104
|
|
- }
|
105
|
|
- ]
|
106
|
|
- },
|
107
|
|
- num: 1234
|
108
|
|
- }
|
109
|
85
|
}
|
110
|
86
|
],
|
|
87
|
+ passProps: {
|
|
88
|
+ str: 'This is a prop passed in \'startTabBasedApp\'!',
|
|
89
|
+ obj: {
|
|
90
|
+ str: 'This is a prop passed in an object!',
|
|
91
|
+ arr: [
|
|
92
|
+ {
|
|
93
|
+ str: 'This is a prop in an object in an array in an object!'
|
|
94
|
+ }
|
|
95
|
+ ]
|
|
96
|
+ },
|
|
97
|
+ num: 1234
|
|
98
|
+ },
|
111
|
99
|
animationType: 'slide-down',
|
112
|
100
|
title: 'Redux Example'
|
113
|
101
|
});
|