forked from JimLiuxinghai/react-native-multibundler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMultiDenugEntry.js
More file actions
33 lines (27 loc) · 803 Bytes
/
MultiDenugEntry.js
File metadata and controls
33 lines (27 loc) · 803 Bytes
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
import {AppRegistry} from 'react-native';
/** @format */
import {} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
AppRegistry.registerComponent(appName, () => App);
/** @format */
import {} from 'react-native';
import App2 from './App2';
AppRegistry.registerComponent("reactnative_multibundler2", () => App2);
/** @format */
import {} from 'react-native';
import {createStackNavigator} from "react-navigation";
import {App3_1,App3_2} from "./App3";
const App3 = createStackNavigator({
App3_1: {screen: App3_1},
App3_2: {screen: App3_2}
}, {
navigationOptions: {
showIcon: true,
swipeEnabled: false,
animationEnabled: false,
lazy: true,
},
mode: 'card'
});
AppRegistry.registerComponent("reactnative_multibundler3", () => App3);