diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 12:12:27 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 12:12:27 -0600 |
commit | d6ec627c8cd32836e5ed494606318959ca17fca1 (patch) | |
tree | 90de43466e097263730e4f248584f68135bcc947 /index.web.js | |
parent | 7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8 (diff) | |
download | voidsky-d6ec627c8cd32836e5ed494606318959ca17fca1.tar.zst |
Update web build and web-specific components; RNW now builds
Diffstat (limited to 'index.web.js')
-rw-r--r-- | index.web.js | 13 |
1 files changed, 13 insertions, 0 deletions
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'), +}) |