about summary refs log tree commit diff
path: root/src/index.js
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-08 15:52:12 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-08 15:52:12 -0500
commit92ca49ab9a309510a5503a4df6a0ebcfba30f918 (patch)
tree55d6741b92bf613ba8e197084965a00fc09dfe28 /src/index.js
parentefe65e70d7f8a4f30e4c780c5fdb56f3c81f377e (diff)
downloadvoidsky-92ca49ab9a309510a5503a4df6a0ebcfba30f918.tar.zst
Add web target
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
new file mode 100644
index 000000000..52c30a178
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,12 @@
+/**
+ * @format
+ */
+
+import {AppRegistry} from 'react-native';
+import App from './App';
+
+AppRegistry.registerComponent('App', () => App);
+
+AppRegistry.runApplication('App', {
+  rootTag: document.getElementById('root'),
+});