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

5 lines
126 B
JavaScript

import { AppRegistry } from 'react-native';
import App from './App';
AppRegistry.registerComponent('HelloWorld', () => App);