about summary refs log tree commit diff
path: root/index.web.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.web.js')
-rw-r--r--index.web.js13
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'),
+})