-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
54 lines (31 loc) · 1.11 KB
/
index.js
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
import {AppRegistry} from 'react-native';
// copy from ./biz/biz1/index.js
/** @format */
import {} from 'react-native';
import App from './biz/biz1/./App';
import {name as appName} from './biz/biz1/../../app.json';
AppRegistry.registerComponent(appName, () => App);
// copy from ./biz/biz2/index.js
/** @format */
import {} from 'react-native';
import App2 from './biz/biz2/./App';
AppRegistry.registerComponent("reactnative_multibundler2", () => App2);
// copy from ./biz/biz3/index.js
/** @format */
import {} from 'react-native';
import React, {Component} from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import {App3_1,App3_2} from "./biz/biz3/./App";
const Stack = createStackNavigator();
function App3() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="App3_1" component={App3_1} />
<Stack.Screen name="App3_2" component={App3_2} />
</Stack.Navigator>
</NavigationContainer>
);
}
AppRegistry.registerComponent("reactnative_multibundler3", () => App3);