move source code to src folder

This commit is contained in:
Thomas Rubini 2023-04-03 11:40:13 +02:00
parent 5d58d80629
commit df3a136172
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
3 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
import 'react-native';
import React from 'react';
import App from '../App';
import App from '../src/App';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';

View File

@ -3,7 +3,7 @@
*/
import {AppRegistry} from 'react-native';
import App from './App';
import App from './src/App';
import {name as appName} from './app.json';
Platform.OS === 'ios' ? AppRegistry.registerComponent('main', () => App) : AppRegistry.registerComponent(appName, () => App);