-
Notifications
You must be signed in to change notification settings - Fork 186
/
MultiDenugEntry.js
executable file
·36 lines (28 loc) · 977 Bytes
/
MultiDenugEntry.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
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 React, {Component} from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import {App3_1,App3_2} from "./App3";
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);