From d6ec627c8cd32836e5ed494606318959ca17fca1 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 26 Jan 2023 12:12:27 -0600 Subject: Update web build and web-specific components; RNW now builds --- index.web.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 index.web.js (limited to 'index.web.js') diff --git a/index.web.js b/index.web.js new file mode 100644 index 000000000..5154bfa7b --- /dev/null +++ b/index.web.js @@ -0,0 +1,13 @@ +// index.web.js + +import {AppRegistry} from 'react-native' +import App from './src/App' +import {name as appName} from './src/app.json' + +// register the app +AppRegistry.registerComponent(appName, () => App) + +AppRegistry.runApplication(appName, { + initialProps: {}, + rootTag: document.getElementById('app-root'), +}) -- cgit 1.4.1