aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2021-12-09 23:15:33 +0100
committerMaksymilian Jopek <maks@jopek.eu>2021-12-09 23:15:33 +0100
commit67b6f338cfe4da739d39dc6764d11efa00105d81 (patch)
tree441ff30a8fb783e400ea7c9e600c889e12392eca /index.js
downloadremarques-67b6f338cfe4da739d39dc6764d11efa00105d81.tar.gz
remarques-67b6f338cfe4da739d39dc6764d11efa00105d81.tar.zst
remarques-67b6f338cfe4da739d39dc6764d11efa00105d81.zip
Created a new Expo app
Diffstat (limited to 'index.js')
-rw-r--r--index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..d689463
--- /dev/null
+++ b/index.js
@@ -0,0 +1,9 @@
+import 'react-native-gesture-handler';
+import { registerRootComponent } from 'expo';
+
+import App from './App';
+
+// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
+// It also ensures that whether you load the app in Expo Go or in a native build,
+// the environment is set up appropriately
+registerRootComponent(App);