index.js 237 B

12345678910
  1. /**
  2. * @format
  3. */
  4. import {AppRegistry} from 'react-native';
  5. import App from './App';
  6. import {name as appName} from './app.json';
  7. import api from './src/api/index';
  8. global.$http = api;
  9. AppRegistry.registerComponent(appName, () => App);