react-native/local-cli/templates/HelloWorld/index.js

8 lines
179 B
JavaScript

/** @format */
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
AppRegistry.registerComponent(appName, () => App);