about summary refs log tree commit diff
path: root/index.web.js
blob: f443dbb6d26a293345006cf8451b783f432ca415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// index.web.js

import 'platform/polyfills'
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'),
})