|
@@ -160,18 +160,19 @@ Specify `topTab` in the screen object you use when starting your app:
|
160
|
160
|
```js
|
161
|
161
|
Navigation.startSingleScreenApp({
|
162
|
162
|
screen: {
|
163
|
|
- screen: 'example.collapsingReactViewTopTabsScreen',
|
164
|
|
- title: 'Collapsing React TopTabs View',
|
165
|
|
- topTabs: [
|
166
|
|
- {
|
167
|
|
- screenId: 'example.ListScreen',
|
168
|
|
- icon: require('../img/list.png')
|
169
|
|
- },
|
170
|
|
- {
|
171
|
|
- screenId: 'example.secondTabScreen',
|
172
|
|
- icon: require('../img/list.png')
|
173
|
|
- }
|
174
|
|
- ]
|
|
163
|
+ screen: 'example.collapsingReactViewTopTabsScreen',
|
|
164
|
+ title: 'Collapsing React TopTabs View',
|
|
165
|
+ topTabs: [
|
|
166
|
+ {
|
|
167
|
+ screenId: 'example.ListScreen',
|
|
168
|
+ icon: require('../img/list.png')
|
|
169
|
+ },
|
|
170
|
+ {
|
|
171
|
+ screenId: 'example.secondTabScreen',
|
|
172
|
+ icon: require('../img/list.png')
|
|
173
|
+ }
|
|
174
|
+ ]
|
|
175
|
+ }
|
175
|
176
|
});
|
176
|
177
|
```
|
177
|
178
|
## Shared Element Transition
|