From df3a136172b8134bf56fab28025848267d371e93 Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Mon, 3 Apr 2023 11:40:13 +0200 Subject: [PATCH] move source code to src folder --- __tests__/App-test.tsx | 2 +- index.js | 2 +- App.tsx => src/App.tsx | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename App.tsx => src/App.tsx (100%) diff --git a/__tests__/App-test.tsx b/__tests__/App-test.tsx index 1784766..4edaa0a 100644 --- a/__tests__/App-test.tsx +++ b/__tests__/App-test.tsx @@ -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'; diff --git a/index.js b/index.js index 6d33770..5a964e7 100644 --- a/index.js +++ b/index.js @@ -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); \ No newline at end of file diff --git a/App.tsx b/src/App.tsx similarity index 100% rename from App.tsx rename to src/App.tsx