Skip to content

Commit 348fbd3

Browse files
committed
core: Move App.js to src/ folder
1 parent 25c6917 commit 348fbd3

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import {AppRegistry} from 'react-native';
6-
import App from './App';
6+
import App from './src/App';
77
import {name as appName} from './app.json';
88

99
AppRegistry.registerComponent(appName, () => App);

src/App.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react";
2+
import { View } from 'react-native';
3+
4+
function App() {
5+
return (
6+
<View>
7+
8+
</View>
9+
)
10+
}
11+
12+
export default App;

0 commit comments

Comments
 (0)