yeet
This commit is contained in:
11
node_modules/expo/build/launch/registerRootComponent.web.js
generated
vendored
Normal file
11
node_modules/expo/build/launch/registerRootComponent.web.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
import * as React from 'react';
|
||||
import { AppRegistry } from 'react-native';
|
||||
import withExpoRoot from './withExpoRoot';
|
||||
export default function registerRootComponent(component) {
|
||||
const App = withExpoRoot(component);
|
||||
const RootComponent = props => React.createElement(App, Object.assign({}, props));
|
||||
AppRegistry.registerComponent('main', () => RootComponent);
|
||||
const rootTag = document.getElementById('root') ?? document.getElementById('main');
|
||||
AppRegistry.runApplication('main', { rootTag });
|
||||
}
|
||||
//# sourceMappingURL=registerRootComponent.web.js.map
|
Reference in New Issue
Block a user