Files
Fluxup_PAP/node_modules/expo-router/build/static/registerRootComponent.js
2026-03-10 16:18:05 +00:00

11 lines
592 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerStaticRootComponent = registerStaticRootComponent;
// @ts-expect-error: TODO(@kitten): Define this type (seems to differ from react-native)
const react_native_web_1 = require("react-native-web");
const APP_KEY = 'App';
function registerStaticRootComponent(component, initialProps) {
react_native_web_1.AppRegistry.registerComponent(APP_KEY, () => component);
return react_native_web_1.AppRegistry.getApplication(APP_KEY, { initialProps });
}
//# sourceMappingURL=registerRootComponent.js.map